Authorization-在最终调用userPurseService操作钱包的入口都加上认证注解
This commit is contained in:
@@ -68,6 +68,7 @@ public class GiftV2Controller extends BaseController {
|
|||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
|
@Authorization
|
||||||
@ApiOperation("送礼")
|
@ApiOperation("送礼")
|
||||||
@PostMapping("/sendV5")
|
@PostMapping("/sendV5")
|
||||||
//@CancelUidTag(paramName = {"targetUids"})
|
//@CancelUidTag(paramName = {"targetUids"})
|
||||||
|
@@ -33,6 +33,7 @@ public class DiamondGiveHistoryController extends BaseController {
|
|||||||
private DiamondGiveHistoryService diamondGiveHistoryService;
|
private DiamondGiveHistoryService diamondGiveHistoryService;
|
||||||
|
|
||||||
|
|
||||||
|
@Authorization
|
||||||
@ApiOperation(value = "用户转赠记录", httpMethod = "GET")
|
@ApiOperation(value = "用户转赠记录", httpMethod = "GET")
|
||||||
@GetMapping("/giveRecord")
|
@GetMapping("/giveRecord")
|
||||||
public BusiResult list(@RequestParam(defaultValue = "1") Integer pageNum, @RequestParam(defaultValue = "20") Integer pageSize) {
|
public BusiResult list(@RequestParam(defaultValue = "1") Integer pageNum, @RequestParam(defaultValue = "20") Integer pageSize) {
|
||||||
@@ -48,6 +49,7 @@ public class DiamondGiveHistoryController extends BaseController {
|
|||||||
* @param pageSize
|
* @param pageSize
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@Authorization
|
||||||
@ApiOperation(value = "用户转赠详情记录", httpMethod = "GET")
|
@ApiOperation(value = "用户转赠详情记录", httpMethod = "GET")
|
||||||
@GetMapping("/giveRecordVoByType")
|
@GetMapping("/giveRecordVoByType")
|
||||||
public BusiResult giveRecordVoByType(Long toUid, @RequestParam(defaultValue = "0") Byte type,
|
public BusiResult giveRecordVoByType(Long toUid, @RequestParam(defaultValue = "0") Byte type,
|
||||||
@@ -56,6 +58,7 @@ public class DiamondGiveHistoryController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Authorization
|
||||||
@ApiOperation(value = "用户转赠钻石操作", httpMethod = "POST")
|
@ApiOperation(value = "用户转赠钻石操作", httpMethod = "POST")
|
||||||
@PostMapping("/give")
|
@PostMapping("/give")
|
||||||
public BusiResult giveDiamond(Long toUid, Long diamondNum, String payPwd) {
|
public BusiResult giveDiamond(Long toUid, Long diamondNum, String payPwd) {
|
||||||
@@ -64,6 +67,7 @@ public class DiamondGiveHistoryController extends BaseController {
|
|||||||
return new BusiResult(BusiStatus.SUCCESS);
|
return new BusiResult(BusiStatus.SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Authorization
|
||||||
@ApiOperation(value = "用户转赠礼物操作", httpMethod = "POST")
|
@ApiOperation(value = "用户转赠礼物操作", httpMethod = "POST")
|
||||||
@PostMapping("/giveGift")
|
@PostMapping("/giveGift")
|
||||||
public BusiResult giveGift(Long toUid, Integer giftId, Integer giftNum) {
|
public BusiResult giveGift(Long toUid, Integer giftId, Integer giftNum) {
|
||||||
@@ -85,6 +89,7 @@ public class DiamondGiveHistoryController extends BaseController {
|
|||||||
return new BusiResult<>(diamondGiveHistoryService.searchUser(uid, erbanNo));
|
return new BusiResult<>(diamondGiveHistoryService.searchUser(uid, erbanNo));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Authorization
|
||||||
@ApiOperation(value = "用户转赠历史", httpMethod = "GET")
|
@ApiOperation(value = "用户转赠历史", httpMethod = "GET")
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "periodType", value = "1-周期,2-上周期", required = true),
|
@ApiImplicitParam(name = "periodType", value = "1-周期,2-上周期", required = true),
|
||||||
|
Reference in New Issue
Block a user