Commit ad63f44d by 吴迪

【新增】修改返回数据格式问题

parent 38d44c0c
......@@ -118,9 +118,9 @@ public class EanUpcController {
*/
@Login
@RequestMapping("/api/getDetailById")
public EanUpcEntityDetailVo getDetailById(@RequestBody EanUpcEntity eanUpcEntity) {
public R getDetailById(@RequestBody EanUpcEntity eanUpcEntity) {
return eanUpcService.getDetailById(eanUpcEntity);
return R.ok().put("data",eanUpcService.getDetailById(eanUpcEntity));
}
......
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