...
|
...
|
@@ -78,7 +78,10 @@ const whSurfController = { |
|
|
getConfigList: async function(req, res) {
|
|
|
let result = await req.ctx(wheelSurfModel).configList();
|
|
|
|
|
|
return res.json(result);
|
|
|
return res.json({
|
|
|
code: 200,
|
|
|
data: result
|
|
|
});
|
|
|
},
|
|
|
|
|
|
configModify: async function(req, res) {
|
...
|
...
|
|