Authored by huangyi

valid

@@ -78,7 +78,10 @@ const whSurfController = { @@ -78,7 +78,10 @@ const whSurfController = {
78 getConfigList: async function(req, res) { 78 getConfigList: async function(req, res) {
79 let result = await req.ctx(wheelSurfModel).configList(); 79 let result = await req.ctx(wheelSurfModel).configList();
80 80
81 - return res.json(result); 81 + return res.json({
  82 + code: 200,
  83 + data: result
  84 + });
82 }, 85 },
83 86
84 configModify: async function(req, res) { 87 configModify: async function(req, res) {