Commit e0e73b41 by 谢海旭

门店模板实例接口改put请求为post请求(前端要求)

1 parent c38c43ac
......@@ -45,14 +45,14 @@ public class SopInstController extends BaseController {
return sopInstService.findById(instId);
}
@Operation(summary = "更新SOP门店模板实例初始参数里的门店自定义参数", description = "更新SOP门店模板实例初始参数里的门店自定义参数")
@PutMapping("/{instId}/instParam/customData")
@Operation(summary = "更新SOP门店模板实例初始参数里的门店自定义参数(关联活动)", description = "更新SOP门店模板实例初始参数里的门店自定义参数(关联活动)")
@PostMapping("/{instId}/instParam/customData")
public Result<String> updateInstParamCustomData(@PathVariable("instId") String instId, @RequestBody Map<String, Object> customData) {
return sopInstService.updateInstParamCustomData(instId, customData);
}
@Operation(summary = "更新SOP门店模板实例状态", description = "更新SOP门店模板实例状态")
@PutMapping("/{instId}/status")
@PostMapping("/{instId}/status")
public Result<String> updateInstStatus(@PathVariable("instId") String instId, @RequestBody Byte status) {
return sopInstService.updateInstStatus(instId, status);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!