...
|
...
|
@@ -85,6 +85,7 @@ const whSurfController = { |
|
|
},
|
|
|
|
|
|
configModify: async function(req, res) {
|
|
|
|
|
|
try {
|
|
|
let data = valid(req.body, {
|
|
|
id: {type: 'number', empty: true},
|
...
|
...
|
@@ -107,6 +108,7 @@ const whSurfController = { |
|
|
try_again_bg: {type: 'string', empty: true},
|
|
|
status: {type: 'number', empty: true}
|
|
|
});
|
|
|
|
|
|
let result = await req.ctx(wheelSurfModel).configModify(data);
|
|
|
|
|
|
return res.json({
|
...
|
...
|
|