main
parent
6afae14b73
commit
c9c8671f09
|
|
@ -64,9 +64,8 @@ public class PayController extends BaseController
|
|||
private AppExchangeCodeMapper appExchangeCodeMapper;
|
||||
|
||||
@RequestMapping("/generateCode")
|
||||
@ApiOperation(value = "生成兑换码", notes = "生成兑换码", httpMethod = "POST")
|
||||
public String generateCode(ExchangeArg exchangeArg,HttpServletResponse response){
|
||||
Integer num = exchangeArg.getNum();
|
||||
@ApiOperation(value = "生成兑换码", notes = "生成兑换码", httpMethod = "GET")
|
||||
public String generateCode(Integer num,HttpServletResponse response){
|
||||
if(num>10000){
|
||||
return "------num error------";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue