You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
346 B
26 lines
346 B
3 years ago
|
module.exports = {
|
||
|
selectSuccess: (data) => {
|
||
|
return {
|
||
|
msg: "查询成功",
|
||
|
code: 200,
|
||
|
data: data,
|
||
|
};
|
||
|
},
|
||
|
|
||
|
error() {
|
||
|
return {
|
||
|
msg: "系统异常",
|
||
|
code: 500,
|
||
|
data: null,
|
||
|
};
|
||
|
},
|
||
|
|
||
|
updateSuccess() {
|
||
|
return {
|
||
|
msg: "更新成功",
|
||
|
code: 200,
|
||
|
data: null,
|
||
|
};
|
||
|
},
|
||
|
};
|