|
|
@@ -60,10 +60,10 @@ public class ExchangeCodeController {
|
|
|
/**
|
|
|
* 生成兑换码 并导出
|
|
|
*/
|
|
|
- @PostMapping("/createAndExport")
|
|
|
+ @GetMapping("/createAndExport")
|
|
|
@SaCheckPermission("exchangeCode:add")
|
|
|
@Log(module = "兑换码/生成兑换码", businessType = BusinessType.POST, isSaveRequestData = true)
|
|
|
- public void createAndExportCode(@RequestBody ExchangeCodeReq exchangeCodeReq, HttpServletResponse response) throws Exception {
|
|
|
+ public void createAndExportCode(ExchangeCodeReq exchangeCodeReq, HttpServletResponse response) throws Exception {
|
|
|
if (ObjectUtil.hasEmpty(exchangeCodeReq.getSkuIds(), exchangeCodeReq.getNumber())) {
|
|
|
throw BusinessRuntimeException.getInstance("必填项为空");
|
|
|
}
|