|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
package com.baiye.modules.agent.controller;
|
|
|
|
|
|
|
|
|
|
import com.baiye.annotation.Inner;
|
|
|
|
|
import com.baiye.annotation.Log;
|
|
|
|
|
import com.baiye.http.CommonResponse;
|
|
|
|
|
import com.baiye.modules.agent.entity.ChannelCustom;
|
|
|
|
|
import com.baiye.modules.agent.entity.query.ChannelQuery;
|
|
|
|
@ -64,4 +66,16 @@ public class CustomManageController {
|
|
|
|
|
public CommonResponse<List<Map<String, Object>>> findCustomList(@RequestParam("customId") Long customId) {
|
|
|
|
|
return CommonResponse.createBySuccess(customManageService.findUrlByCustomId(customId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Log
|
|
|
|
|
@Inner
|
|
|
|
|
@ApiOperation("修改数量")
|
|
|
|
|
@GetMapping("/update/quantity")
|
|
|
|
|
public ResponseEntity<Void> updateQuantity(Long userId, Integer number) {
|
|
|
|
|
customManageService.updateQuantity(userId, number);
|
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|