瀏覽代碼

调整

master
zouhantao 2 月之前
父節點
當前提交
b5958392a9
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/api/SmsKeyController.java

+ 3
- 3
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/api/SmsKeyController.java 查看文件

@@ -25,21 +25,21 @@ public class SmsKeyController {

@Autowired
private SmsKeyConfigManager smsKeyConfigManager;
@ApiOperation(value = "客户端-分页查询")
@ApiOperation(value = "短信密钥-分页查询")
@PostMapping(value = "/page")
public ApiResponse<Pagination> page(@RequestBody @Valid MsgwSmsKeyConfigPageRequest request) {
Pagination pagination = smsKeyConfigManager.page(request);
return ApiResponse.of(pagination);
}

@ApiOperation(value = "客户端-新增")
@ApiOperation(value = "短信密钥-新增")
@PostMapping(value = "/add")
public ApiResponse add(@RequestBody @Valid SmsKeyConfigRequestAddDto request) {
smsKeyConfigManager.add(request);
return ApiResponse.success().setMessage("操作成功");
}

@ApiOperation(value = "客户端-修改")
@ApiOperation(value = "短信密钥-修改")
@PostMapping(value = "/merge")
public ApiResponse merge(@RequestBody @Valid SmsKeyConfigRequestMergeDto request) throws ManagerException {
smsKeyConfigManager.merge(request);

Loading…
取消
儲存