game2006go/doc/admin/common.js
2023-09-03 18:09:14 +08:00

32 lines
541 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

exports.DefaultHttpHeader = class DefaultHttpHeader {
constructor() {
this.fields = [
['Authorization', 'Users unique access-key.'],
];
}
};
exports.ReqHead = class ReqHead {
constructor() {
this.fields = [
['account_id', 0, '账号id'],
['session_id', '', '会话id'],
];
}
};
exports.RspHead = class RspHead {
constructor() {
this.fields = [
['errcode', 0, '错误码/0 成功1 失败'],
['errmsg', '', '错误描述'],
];
}
};