| | |
| | | public R queryStock(@RequestHeader(required = false) String appkey, |
| | | @RequestBody StockVo stockVo, |
| | | HttpServletRequest request) { |
| | | auth(appkey, null, request); |
| | | auth(appkey, stockVo, request); |
| | | return R.ok().add(openService.queryStock(stockVo)); |
| | | } |
| | | |
| | |
| | | param1.setOrderNo("963001846497017856"); |
| | | System.out.println(JSON.toJSONString(param1)); |
| | | } |
| | | |
| | | |
| | | @RequestMapping("/manDetl/in") |
| | | public R manDetlAdd(@RequestBody JSONObject json){ |
| | | if (json == null){ |
| | | return R.error("传入数据为空"); |
| | | } |
| | | return openService.manDetlIn(json); |
| | | } |
| | | |
| | | |
| | | @RequestMapping("/manDetl/out") |
| | | public R manDetlDelete(@RequestBody JSONObject json){ |
| | | if (json == null){ |
| | | return R.error("传入数据为空"); |
| | | } |
| | | return openService.manDetlOut(json); |
| | | } |
| | | |
| | | |
| | | |
| | | } |