mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
11 lines
266 B
JavaScript
11 lines
266 B
JavaScript
'use strict';
|
|
|
|
let StatusCode;
|
|
(function(StatusCode) {
|
|
// 系统
|
|
StatusCode[(StatusCode.SUCCESS = 0)] = 'SUCCESS';
|
|
StatusCode[(StatusCode.SYS_API_ERROR = 10001)] = 'SYS_API_ERROR' // api错误
|
|
})(StatusCode || (StatusCode = {}));
|
|
|
|
module.exports = StatusCode;
|