Commit 69db51ad by ice

补交库存现有量报表的转单功能的请求方式

parent 0870f390
...@@ -7,6 +7,7 @@ import javafx.scene.effect.SepiaTone; ...@@ -7,6 +7,7 @@ import javafx.scene.effect.SepiaTone;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import orthopedics.controller.error.ErrorEnum; import orthopedics.controller.error.ErrorEnum;
import orthopedics.model.*; import orthopedics.model.*;
...@@ -50,7 +51,7 @@ public class StockTransferController { ...@@ -50,7 +51,7 @@ public class StockTransferController {
*参数:json *参数:json
*创建者:ice *创建者:ice
**/ **/
@RequestMapping(value = "/transferData") @RequestMapping(value = "/transferData",method = RequestMethod.POST)
public Result transferData(@RequestBody JSONObject jsonObject){ public Result transferData(@RequestBody JSONObject jsonObject){
String token = jsonObject.getString("token"); String token = jsonObject.getString("token");
//检查accesstoken的有效性 //检查accesstoken的有效性
......
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 sign in to comment