Commit aae6f77d authored by suhuiguang's avatar suhuiguang

1.修改请求类型

parent 9700e7e7
......@@ -654,8 +654,8 @@ public class ElevatorController extends BaseController {
* @return 成功处理条数
*/
@TycloudOperation(ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/v1/es/insert", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "电梯信息放入es", notes = "电梯信息放入es")
@RequestMapping(value = "/v1/es/insert", method = RequestMethod.PUT)
@ApiOperation(httpMethod = "PUT", value = "电梯信息放入es", notes = "电梯信息放入es")
public ResponseModel<String> esInsert() {
Long total = iElevatorService.esInsert();
return ResponseHelper.buildResponse("success insert: " + total);
......
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