Commit 89e17405 authored by liuzicheng's avatar liuzicheng

初始化项目

parent 288f12d5
Pipeline #524 failed with stages
......@@ -6,10 +6,7 @@ import com.jqtx.windows.web.response.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/zhenong/v1")
......@@ -21,7 +18,7 @@ public class BaseController {
@ApiOperation(value = "网关接口")
@PostMapping("/{url}")
public JsonResult creditSubmit(@PathVariable String url, String requestBody) {
public JsonResult creditSubmit(@RequestBody String requestBody, @PathVariable String url) {
return commandProxy.call(requestBody,url);
}
}
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