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.
20 lines
920 B
20 lines
920 B
"use strict";
|
|
var RequestMethodsEnum = /* @__PURE__ */ ((RequestMethodsEnum2) => {
|
|
RequestMethodsEnum2["GET"] = "GET";
|
|
RequestMethodsEnum2["POST"] = "POST";
|
|
return RequestMethodsEnum2;
|
|
})(RequestMethodsEnum || {});
|
|
var RequestCodeEnum = /* @__PURE__ */ ((RequestCodeEnum2) => {
|
|
RequestCodeEnum2[RequestCodeEnum2["SUCCESS"] = 1] = "SUCCESS";
|
|
RequestCodeEnum2[RequestCodeEnum2["FAILED"] = 0] = "FAILED";
|
|
RequestCodeEnum2[RequestCodeEnum2["TOKEN_INVALID"] = -1] = "TOKEN_INVALID";
|
|
return RequestCodeEnum2;
|
|
})(RequestCodeEnum || {});
|
|
var RequestErrMsgEnum = /* @__PURE__ */ ((RequestErrMsgEnum2) => {
|
|
RequestErrMsgEnum2["ABORT"] = "request:fail abort";
|
|
RequestErrMsgEnum2["TIMEOUT"] = "request:fail timeout";
|
|
return RequestErrMsgEnum2;
|
|
})(RequestErrMsgEnum || {});
|
|
exports.RequestCodeEnum = RequestCodeEnum;
|
|
exports.RequestErrMsgEnum = RequestErrMsgEnum;
|
|
exports.RequestMethodsEnum = RequestMethodsEnum;
|
|
|