Commit 730bcb9a authored by 陈祥烨's avatar 陈祥烨

Merge branch 'develop' of http://39.98.45.134:8090/tool/amos-tool into develop

parents 5bcb4b47 4a01f1a3
......@@ -58,7 +58,7 @@ public class AmosToolTemplateController {
* 根据ID删除
*/
@TycloudOperation(ApiLevel = UserType.SUPER_ADMIN, needAuth = false)
@PostMapping("/delete")
@DeleteMapping("/delete")
@ApiOperation(value = "删除")
public ResponseModel<Boolean> deleteById(@RequestParam(value = "templateId") Long templateId) {
return ResponseHelper.buildResponse(amosToolTemplateService.deleteBySeq(templateId));
......@@ -68,7 +68,7 @@ public class AmosToolTemplateController {
* 根据ID更新
*/
@TycloudOperation(ApiLevel = UserType.SUPER_ADMIN, needAuth = false)
@PostMapping("/update")
@PutMapping("/update")
@ApiOperation(value = "更新")
public ResponseModel<Boolean> updateById(@RequestParam(value = "templateId") Long templateId) {
return ResponseHelper.buildResponse(amosToolTemplateService.updateTimes(templateId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment