...
|
...
|
@@ -3,7 +3,6 @@ |
|
|
*
|
|
|
* Created by y.huang on 17/5/21.
|
|
|
*/
|
|
|
import {code, msg} from '../configs/constant';
|
|
|
|
|
|
/**
|
|
|
* 返回一个错误对象
|
...
|
...
|
@@ -12,9 +11,9 @@ import {code, msg} from '../configs/constant'; |
|
|
*/
|
|
|
const _errJson = (message) => {
|
|
|
return {
|
|
|
code: code.PARAMS_ERROR,
|
|
|
code: '203',
|
|
|
description: message,
|
|
|
name: msg.PARAMS_ERROR,
|
|
|
name: '数据错误',
|
|
|
errKey: 'valid'
|
|
|
};
|
|
|
};
|
...
|
...
|
|