linhw 2024-04-29 13:17:12 +08:00
parent 6afae14b73
commit c9c8671f09
1 changed files with 2 additions and 3 deletions

View File

@ -64,9 +64,8 @@ public class PayController extends BaseController
private AppExchangeCodeMapper appExchangeCodeMapper; private AppExchangeCodeMapper appExchangeCodeMapper;
@RequestMapping("/generateCode") @RequestMapping("/generateCode")
@ApiOperation(value = "生成兑换码", notes = "生成兑换码", httpMethod = "POST") @ApiOperation(value = "生成兑换码", notes = "生成兑换码", httpMethod = "GET")
public String generateCode(ExchangeArg exchangeArg,HttpServletResponse response){ public String generateCode(Integer num,HttpServletResponse response){
Integer num = exchangeArg.getNum();
if(num>10000){ if(num>10000){
return "------num error------"; return "------num error------";
} }