szld-libs 0.2.97 → 0.2.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/mock/index.js CHANGED
@@ -1 +1,387 @@
1
-
1
+ const baseAttrList = [
2
+ {
3
+ xh: 1,
4
+ asid: "2C648B554C994DED994D6049BA8E7488",
5
+ astype: 0,
6
+ tname: "fcctest",
7
+ attrid: "987C9E76D2604B2587A259E193E0E4D4",
8
+ attrname: "输入框",
9
+ attrtype: 0,
10
+ info: '{"input":"text","dataType":"string","length":100}',
11
+ info_base64: 0,
12
+ createtime: "2026-01-25 14:02:34",
13
+ attrvalue: "",
14
+ serialnum: 1,
15
+ children: [],
16
+ json: {
17
+ input: "text",
18
+ dataType: "string",
19
+ length: 100
20
+ }
21
+ },
22
+ {
23
+ xh: 2,
24
+ asid: "2C648B554C994DED994D6049BA8E7488",
25
+ astype: 0,
26
+ tname: "fcctest",
27
+ attrid: "28F623FA152D44B89BA2518D52AA172B",
28
+ attrname: "数字输入框",
29
+ attrtype: 0,
30
+ info: '{"input":"number","dataType":"int"}',
31
+ info_base64: 0,
32
+ createtime: "2026-01-25 14:03:01",
33
+ attrvalue: "",
34
+ serialnum: 2,
35
+ children: [],
36
+ json: {
37
+ input: "number",
38
+ dataType: "int"
39
+ }
40
+ },
41
+ {
42
+ xh: 3,
43
+ asid: "2C648B554C994DED994D6049BA8E7488",
44
+ astype: 0,
45
+ tname: "fcctest",
46
+ attrid: "309919F2EFCD4625B4428D4B12B5169F",
47
+ attrname: "日期段选择",
48
+ attrtype: 0,
49
+ info: '{"input":"range-picker","range-picker-save":"range","dataType":"string","length":100,"disable-date-goover":true}',
50
+ info_base64: 0,
51
+ createtime: "2026-01-25 14:05:35",
52
+ attrvalue: "",
53
+ serialnum: 3,
54
+ children: [],
55
+ json: {
56
+ input: "range-picker",
57
+ "range-picker-save": "range",
58
+ dataType: "string",
59
+ length: 100,
60
+ "disable-date-goover": true
61
+ }
62
+ }
63
+ ];
64
+ const attrList = [
65
+ {
66
+ xh: 1,
67
+ asid: "2C648B554C994DED994D6049BA8E7488",
68
+ astype: 0,
69
+ tname: "fcctest",
70
+ attrid: "987C9E76D2604B2587A259E193E0E4D4",
71
+ attrname: "输入框",
72
+ attrtype: 0,
73
+ info: '{"input":"text","dataType":"string","length":100}',
74
+ info_base64: 0,
75
+ createtime: "2026-01-25 14:02:34",
76
+ attrvalue: "",
77
+ serialnum: 1,
78
+ children: [],
79
+ json: {
80
+ input: "text",
81
+ dataType: "string",
82
+ length: 100
83
+ }
84
+ },
85
+ {
86
+ xh: 2,
87
+ asid: "2C648B554C994DED994D6049BA8E7488",
88
+ astype: 0,
89
+ tname: "fcctest",
90
+ attrid: "28F623FA152D44B89BA2518D52AA172B",
91
+ attrname: "数字输入框",
92
+ attrtype: 0,
93
+ info: '{"input":"number","dataType":"int"}',
94
+ info_base64: 0,
95
+ createtime: "2026-01-25 14:03:01",
96
+ attrvalue: "",
97
+ serialnum: 2,
98
+ children: [],
99
+ json: {
100
+ input: "number",
101
+ dataType: "int"
102
+ }
103
+ },
104
+ {
105
+ xh: 3,
106
+ asid: "2C648B554C994DED994D6049BA8E7488",
107
+ astype: 0,
108
+ tname: "fcctest",
109
+ attrid: "309919F2EFCD4625B4428D4B12B5169F",
110
+ attrname: "日期段选择",
111
+ attrtype: 0,
112
+ info: '{"input":"range-picker","range-picker-save":"range","dataType":"string","length":100,"disable-date-goover":true}',
113
+ info_base64: 0,
114
+ createtime: "2026-01-25 14:05:35",
115
+ attrvalue: "",
116
+ serialnum: 3,
117
+ children: [],
118
+ json: {
119
+ input: "range-picker",
120
+ "range-picker-save": "range",
121
+ dataType: "string",
122
+ length: 100,
123
+ "disable-date-goover": true
124
+ }
125
+ }
126
+ ];
127
+ const testList = [
128
+ {
129
+ xh: 1,
130
+ asid: "94C24D4B534A43A893ADDD78021AC393",
131
+ astype: 0,
132
+ tname: "dog_room_type_table",
133
+ attrid: "1710D157CDFF46A7A4E4501095C8ACBE",
134
+ attrname: "唯一编号",
135
+ attrtype: 0,
136
+ info: "eyJpbnB1dCI6InRleHQiLCJkYXRhVHlwZSI6InN0cmluZyIsImxlbmd0aCI6MTAwLCJhdXRvLWdlbmVyYXRlIjp0cnVlLCJhdXRvLWdlbmVyYXRlLXR5cGUiOiJndWlkIn0=",
137
+ info_base64: 1,
138
+ createtime: "2026-01-26 10:06:27",
139
+ attrvalue: "01",
140
+ serialnum: 0,
141
+ children: [],
142
+ json: {
143
+ input: "text",
144
+ dataType: "string",
145
+ length: 100,
146
+ "auto-generate": true,
147
+ "auto-generate-type": "guid"
148
+ }
149
+ },
150
+ {
151
+ xh: 2,
152
+ asid: "94C24D4B534A43A893ADDD78021AC393",
153
+ astype: 0,
154
+ tname: "dog_room_type_table",
155
+ attrid: "41CCD121BD6A4356A95CC24968F86D75",
156
+ attrname: "房型名称",
157
+ attrtype: 0,
158
+ info: "eyJpbnB1dCI6InRleHQiLCJkYXRhVHlwZSI6InN0cmluZyIsImxlbmd0aCI6MTAwLCJtdXN0Ijp0cnVlfQ==",
159
+ info_base64: 1,
160
+ createtime: "2025-11-14 16:11:23",
161
+ attrvalue: "12",
162
+ serialnum: 1,
163
+ children: [],
164
+ json: {
165
+ input: "text",
166
+ dataType: "string",
167
+ length: 100,
168
+ must: true
169
+ }
170
+ },
171
+ {
172
+ xh: 3,
173
+ asid: "94C24D4B534A43A893ADDD78021AC393",
174
+ astype: 0,
175
+ tname: "dog_room_type_table",
176
+ attrid: "40E6CE0B4C9647FF9786AE8E1B230F94",
177
+ attrname: "房型价格",
178
+ attrtype: 0,
179
+ info: '{"input":"text","dataType":"string","length":20,"must":true}',
180
+ info_base64: 0,
181
+ createtime: "2025-11-14 16:11:23",
182
+ attrvalue: "22",
183
+ serialnum: 2,
184
+ children: [],
185
+ json: {
186
+ input: "text",
187
+ dataType: "string",
188
+ length: 20,
189
+ must: true
190
+ }
191
+ },
192
+ {
193
+ xh: 4,
194
+ asid: "94C24D4B534A43A893ADDD78021AC393",
195
+ astype: 0,
196
+ tname: "dog_room_type_table",
197
+ attrid: "846FC648A4924501A76DAB1F28F3A803",
198
+ attrname: "房型说明",
199
+ attrtype: 0,
200
+ info: '{"input":"textarea","dataType":"string","length":500}',
201
+ info_base64: 0,
202
+ createtime: "2025-11-14 16:11:23",
203
+ attrvalue: "3",
204
+ serialnum: 3,
205
+ children: [],
206
+ json: {
207
+ input: "textarea",
208
+ dataType: "string",
209
+ length: 500
210
+ }
211
+ },
212
+ {
213
+ xh: 5,
214
+ asid: "94C24D4B534A43A893ADDD78021AC393",
215
+ astype: 0,
216
+ tname: "dog_room_type_table",
217
+ attrid: "394EBAE299694BBA88C2300C5C0FA5F7",
218
+ attrname: "房型图片",
219
+ attrtype: 0,
220
+ info: '{"input":"image","upload-accept":".png,.jpg,.jpeg","upload-max-count":"1","upload-size":"5","dataType":"string","length":1000,"instruction":"仅允许上传1个.png,.jpg,.jpeg文件","instruction-color":"#999999"}',
221
+ info_base64: 0,
222
+ createtime: "2025-11-14 16:11:23",
223
+ attrvalue: "",
224
+ serialnum: 4,
225
+ children: [],
226
+ json: {
227
+ input: "image",
228
+ "upload-accept": ".png,.jpg,.jpeg",
229
+ "upload-max-count": "1",
230
+ "upload-size": "5",
231
+ dataType: "string",
232
+ length: 1e3,
233
+ instruction: "仅允许上传1个.png,.jpg,.jpeg文件",
234
+ "instruction-color": "#999999"
235
+ }
236
+ },
237
+ {
238
+ xh: 6,
239
+ asid: "94C24D4B534A43A893ADDD78021AC393",
240
+ astype: 0,
241
+ tname: "dog_room_type_table",
242
+ attrid: "F8F7239DB205465585F5B55755769FF0",
243
+ attrname: "总房间数",
244
+ attrtype: 0,
245
+ info: '{"input":"number","dataType":"int","default":"0"}',
246
+ info_base64: 0,
247
+ createtime: "2026-01-24 11:06:17",
248
+ attrvalue: "0",
249
+ serialnum: 5,
250
+ children: [],
251
+ json: {
252
+ input: "number",
253
+ dataType: "int",
254
+ default: "0"
255
+ }
256
+ },
257
+ {
258
+ xh: 7,
259
+ asid: "94C24D4B534A43A893ADDD78021AC393",
260
+ astype: 0,
261
+ tname: "dog_room_type_table",
262
+ attrid: "A190218E6AF64176A71544FD4FEE74F6",
263
+ attrname: "已住房间数",
264
+ attrtype: 0,
265
+ info: '{"input":"number","dataType":"int","default":"0"}',
266
+ info_base64: 0,
267
+ createtime: "2026-01-24 11:09:26",
268
+ attrvalue: "0",
269
+ serialnum: 6,
270
+ children: [],
271
+ json: {
272
+ input: "number",
273
+ dataType: "int",
274
+ default: "0"
275
+ }
276
+ },
277
+ {
278
+ xh: 8,
279
+ asid: "94C24D4B534A43A893ADDD78021AC393",
280
+ astype: 0,
281
+ tname: "dog_room_type_table",
282
+ attrid: "1666323D69DC4AC8B28EC38B72BC24FF",
283
+ attrname: "房间",
284
+ attrtype: 1,
285
+ info: '{"propertiesID":"2AA903FDA83245C9A933F99BA31FD739"}',
286
+ info_base64: 0,
287
+ createtime: "2026-01-26 10:09:33",
288
+ attrvalue: "dog_room_type_table,1666323D69DC4AC8B28EC38B72BC24FF,dog_room_table",
289
+ serialnum: 7,
290
+ children: [
291
+ [
292
+ {
293
+ xh: 1,
294
+ asid: "2AA903FDA83245C9A933F99BA31FD739",
295
+ astype: 0,
296
+ tname: "dog_room_table",
297
+ attrid: "3C8FDCA9AD3E46F58006FA0DFE6B7612",
298
+ attrname: "唯一编号",
299
+ attrtype: 0,
300
+ info: '{"input":"text","dataType":"string","length":100,"auto-generate":true,"auto-generate-type":"guid"}',
301
+ info_base64: 0,
302
+ createtime: "2026-01-26 10:03:45",
303
+ attrvalue: "",
304
+ serialnum: 0,
305
+ children: [],
306
+ json: {
307
+ input: "text",
308
+ dataType: "string",
309
+ length: 100,
310
+ "auto-generate": true,
311
+ "auto-generate-type": "guid"
312
+ }
313
+ },
314
+ {
315
+ xh: 2,
316
+ asid: "2AA903FDA83245C9A933F99BA31FD739",
317
+ astype: 0,
318
+ tname: "dog_room_table",
319
+ attrid: "902B5AD407D34B9E8F267FABBE244B15",
320
+ attrname: "房间编号",
321
+ attrtype: 0,
322
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
323
+ info_base64: 0,
324
+ createtime: "2025-11-14 16:18:24",
325
+ attrvalue: "",
326
+ serialnum: 1,
327
+ children: [],
328
+ json: {
329
+ input: "text",
330
+ dataType: "string",
331
+ length: 100,
332
+ must: true
333
+ }
334
+ },
335
+ {
336
+ xh: 3,
337
+ asid: "2AA903FDA83245C9A933F99BA31FD739",
338
+ astype: 0,
339
+ tname: "dog_room_table",
340
+ attrid: "276B08A817F540A3B5B56FBB5016E1D2",
341
+ attrname: "房间名称",
342
+ attrtype: 0,
343
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
344
+ info_base64: 0,
345
+ createtime: "2026-01-24 11:53:53",
346
+ attrvalue: "",
347
+ serialnum: 2,
348
+ children: [],
349
+ json: {
350
+ input: "text",
351
+ dataType: "string",
352
+ length: 100,
353
+ must: true
354
+ }
355
+ },
356
+ {
357
+ xh: 4,
358
+ asid: "2AA903FDA83245C9A933F99BA31FD739",
359
+ astype: 0,
360
+ tname: "dog_room_table",
361
+ attrid: "BBB307871C054A1AAC8B39526B62B4D0",
362
+ attrname: "关联房型编号",
363
+ attrtype: 0,
364
+ info: '{"input":"text","dataType":"string","length":100}',
365
+ info_base64: 0,
366
+ createtime: "2025-11-14 16:18:24",
367
+ attrvalue: "",
368
+ serialnum: 3,
369
+ children: [],
370
+ json: {
371
+ input: "text",
372
+ dataType: "string",
373
+ length: 100
374
+ }
375
+ }
376
+ ]
377
+ ],
378
+ json: {
379
+ propertiesID: "2AA903FDA83245C9A933F99BA31FD739"
380
+ }
381
+ }
382
+ ];
383
+ export {
384
+ attrList,
385
+ baseAttrList,
386
+ testList
387
+ };
@@ -0,0 +1,6 @@
1
+ export declare const commonRequest: (InterfaceType: string, data?: any) => Promise<any>;
2
+ export declare const commonRequestDic: (data?: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const commonRequestWidthParams: (params: object, data?: any) => Promise<any>;
4
+ export declare const commonRequestActionUrl: (data?: any) => Promise<any>;
5
+ export declare const uploadAction: () => string;
6
+ export declare const uploadFormAction: () => string;
@@ -0,0 +1,85 @@
1
+ import queryString from "query-string";
2
+ import request, { domainSetting } from "./request";
3
+ import { TOKEN, encryptParamStrings } from "../utils/enum";
4
+ import { HmacSHA512 } from "szld-libs";
5
+ const commonRequest = async (InterfaceType, data) => {
6
+ return request.post("", data, {
7
+ params: {
8
+ PageName: "dns_relay",
9
+ Controlname: "Connon_Control",
10
+ InterfaceType
11
+ }
12
+ });
13
+ };
14
+ const commonRequestDic = async (data) => {
15
+ return request.post("", data, {
16
+ params: {
17
+ PageName: "DicInterface",
18
+ Controlname: "SelectDic"
19
+ }
20
+ });
21
+ };
22
+ const commonRequestWidthParams = async (params, data) => {
23
+ return request.post("", data, {
24
+ params
25
+ });
26
+ };
27
+ const commonRequestActionUrl = async (data) => {
28
+ return request.post("", data, {
29
+ params: {
30
+ PageName: "dns_relay",
31
+ Controlname: "CallActionUrl",
32
+ InterfaceType: "DPGLSysemName"
33
+ }
34
+ });
35
+ };
36
+ const uploadAction = () => {
37
+ var _a;
38
+ const SessionID = sessionStorage.getItem(TOKEN);
39
+ const params = {
40
+ ...domainSetting.baseParams,
41
+ PageName: "dns_relay",
42
+ return: true,
43
+ Controlname: "UpSingleFile",
44
+ InterfaceType: "",
45
+ udmfile: "file",
46
+ SessionID
47
+ };
48
+ const obj = {};
49
+ encryptParamStrings.forEach((key) => {
50
+ obj[key] = params[key] || "";
51
+ });
52
+ const encryptParams = queryString.stringify(obj, { sort: false });
53
+ const sha = new HmacSHA512((_a = window == null ? void 0 : window.CONFIG) == null ? void 0 : _a.Salt);
54
+ params["TokenId"] = sha.encrypt(encryptParams);
55
+ return domainSetting.baseUrl + "?" + queryString.stringify(params);
56
+ };
57
+ const uploadFormAction = () => {
58
+ var _a;
59
+ const SessionID = sessionStorage.getItem(TOKEN);
60
+ const params = {
61
+ ...domainSetting.baseParams,
62
+ PageName: "initializationfile",
63
+ return: true,
64
+ Controlname: "UpSingleFile",
65
+ InterfaceType: "",
66
+ udmfile: "file",
67
+ SessionID
68
+ };
69
+ const obj = {};
70
+ encryptParamStrings.forEach((key) => {
71
+ obj[key] = params[key] || "";
72
+ });
73
+ const encryptParams = queryString.stringify(obj, { sort: false });
74
+ const sha = new HmacSHA512((_a = window == null ? void 0 : window.CONFIG) == null ? void 0 : _a.Salt);
75
+ params["TokenId"] = sha.encrypt(encryptParams);
76
+ return domainSetting.baseUrl + "?" + queryString.stringify(params);
77
+ };
78
+ export {
79
+ commonRequest,
80
+ commonRequestActionUrl,
81
+ commonRequestDic,
82
+ commonRequestWidthParams,
83
+ uploadAction,
84
+ uploadFormAction
85
+ };
@@ -0,0 +1,6 @@
1
+ export declare const domainSetting: {
2
+ baseUrl: string;
3
+ baseParams: {};
4
+ };
5
+ declare const request: import("axios").AxiosInstance;
6
+ export default request;
@@ -0,0 +1,140 @@
1
+ var _a, _b;
2
+ import { OEID, TOKEN, encryptParamStrings, USERINFO } from "../utils/enum";
3
+ import { message } from "antd";
4
+ import axios from "axios";
5
+ import _ from "lodash";
6
+ import queryString from "query-string";
7
+ import { HmacSHA512, utils } from "szld-libs";
8
+ import { showStatus } from "./status";
9
+ const { removeSessionStorage, getSessionStorage } = utils;
10
+ const env = {}.VITE_BUILD_ENV;
11
+ const domainSetting = {
12
+ baseUrl: "",
13
+ baseParams: {}
14
+ };
15
+ if (env === "test" || env === "dev") {
16
+ domainSetting.baseUrl = "/ucc";
17
+ domainSetting.baseParams = {
18
+ AppID: "KF_SZLD_YLFWLR",
19
+ Password: "KF_SZLD_YLFWLR2557013"
20
+ };
21
+ }
22
+ if (env === "dev") {
23
+ domainSetting.baseUrl = "/api";
24
+ }
25
+ if (env === "production") {
26
+ domainSetting.baseUrl = "/ucc";
27
+ domainSetting.baseParams = {
28
+ AppID: (_a = window == null ? void 0 : window.CONFIG) == null ? void 0 : _a.AppID,
29
+ Password: (_b = window == null ? void 0 : window.CONFIG) == null ? void 0 : _b.Password
30
+ };
31
+ }
32
+ const request = axios.create({
33
+ baseURL: domainSetting.baseUrl,
34
+ headers: { "Content-Type": "application/json;charset=utf-8" },
35
+ withCredentials: true,
36
+ timeout: 3e5,
37
+ params: {
38
+ return: true,
39
+ ...domainSetting.baseParams
40
+ },
41
+ transformRequest: [
42
+ (data) => {
43
+ data = JSON.stringify(data);
44
+ return data;
45
+ }
46
+ ]
47
+ });
48
+ request.interceptors.request.use(
49
+ function(config) {
50
+ var _a2;
51
+ const oeid = sessionStorage.getItem(OEID);
52
+ if (oeid) {
53
+ config.data = {
54
+ ...(config == null ? void 0 : config.data) || {},
55
+ oeid
56
+ };
57
+ }
58
+ const token = sessionStorage.getItem(TOKEN);
59
+ if (token) {
60
+ const types = ["GetVCode", "FirstLoginUpdateMM", "DPGLSystemName"];
61
+ const names = ["Login"];
62
+ if (!names.includes(config.params["Controlname"]) && !types.includes(config.params["InterfaceType"])) {
63
+ config.params["SessionID"] = token;
64
+ config.params["InterfaceType"] = config.params["InterfaceType"] || "";
65
+ const obj = {};
66
+ encryptParamStrings.forEach((key) => {
67
+ obj[key] = config.params[key] || "";
68
+ });
69
+ const encryptParams = queryString.stringify(obj, { sort: false });
70
+ const sha = new HmacSHA512((_a2 = window == null ? void 0 : window.CONFIG) == null ? void 0 : _a2.Salt);
71
+ config.params["TokenId"] = sha.encrypt(encryptParams);
72
+ }
73
+ }
74
+ return config;
75
+ },
76
+ function(error) {
77
+ return Promise.reject(error);
78
+ }
79
+ );
80
+ request.interceptors.response.use(
81
+ function(response) {
82
+ var _a2;
83
+ const status = response.status;
84
+ if (status < 200 || status >= 300) {
85
+ const msg = showStatus(status);
86
+ if (typeof response.data === "string") {
87
+ response.data = { msg };
88
+ } else {
89
+ response.data = {
90
+ data: response.data,
91
+ msg
92
+ };
93
+ }
94
+ msgError(response.data.msg);
95
+ Promise.reject(response);
96
+ return {
97
+ ReturnValue: 0,
98
+ ...response.data
99
+ };
100
+ }
101
+ if (typeof response.data === "string" && response.data.includes("Invalid")) {
102
+ msgError("登录已失效,请重新登录");
103
+ removeSessionStorage(USERINFO);
104
+ removeSessionStorage(TOKEN);
105
+ Promise.reject(response);
106
+ return {
107
+ ReturnValue: 0,
108
+ msg: "登录已失效,请重新登录",
109
+ data: response.data
110
+ };
111
+ }
112
+ const result = response.data;
113
+ const noHitControlList = [];
114
+ if (_.isNumber(result == null ? void 0 : result.ReturnValue) && result.ReturnValue !== 1) {
115
+ if (!noHitControlList.includes((_a2 = response.config) == null ? void 0 : _a2.params["Controlname"])) {
116
+ msgError(result.msg);
117
+ }
118
+ }
119
+ return result;
120
+ },
121
+ function(error) {
122
+ msgError("请求出错");
123
+ Promise.reject(error);
124
+ return {
125
+ ReturnValue: 0,
126
+ msg: "请求出错",
127
+ data: error
128
+ };
129
+ }
130
+ );
131
+ const msgError = (content) => {
132
+ message.error({
133
+ content,
134
+ key: "globalError"
135
+ });
136
+ };
137
+ export {
138
+ request as default,
139
+ domainSetting
140
+ };
@@ -0,0 +1 @@
1
+ export declare const showStatus: (status: number) => string;
@@ -0,0 +1,44 @@
1
+ const showStatus = (status) => {
2
+ let message = "";
3
+ switch (status) {
4
+ case 400:
5
+ message = "请求错误(400)";
6
+ break;
7
+ case 401:
8
+ message = "未授权,请重新登录(401)";
9
+ break;
10
+ case 403:
11
+ message = "拒绝访问(403)";
12
+ break;
13
+ case 404:
14
+ message = "请求出错(404)";
15
+ break;
16
+ case 408:
17
+ message = "请求超时(408)";
18
+ break;
19
+ case 500:
20
+ message = "服务器错误(500)";
21
+ break;
22
+ case 501:
23
+ message = "服务未实现(501)";
24
+ break;
25
+ case 502:
26
+ message = "网络错误(502)";
27
+ break;
28
+ case 503:
29
+ message = "服务不可用(503)";
30
+ break;
31
+ case 504:
32
+ message = "网络超时(504)";
33
+ break;
34
+ case 505:
35
+ message = "HTTP版本不受支持(505)";
36
+ break;
37
+ default:
38
+ message = `连接出错(${status})!`;
39
+ }
40
+ return `${message},请检查网络或联系管理员!`;
41
+ };
42
+ export {
43
+ showStatus
44
+ };
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -0,0 +1,4 @@
1
+ export declare const encryptParamStrings: string[];
2
+ export declare const TOKEN = "TOKEN";
3
+ export declare const USERINFO = "USERINFO";
4
+ export declare const OEID = "OEID";
@@ -0,0 +1,10 @@
1
+ const encryptParamStrings = ["AppID", "Password", "PageName", "Controlname", "InterfaceType", "SessionID"];
2
+ const TOKEN = "TOKEN";
3
+ const USERINFO = "USERINFO";
4
+ const OEID = "OEID";
5
+ export {
6
+ OEID,
7
+ TOKEN,
8
+ USERINFO,
9
+ encryptParamStrings
10
+ };