@jctrans-materials/shared 1.0.31 → 1.0.33-beta.0
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/dist/index.cjs.js +6 -6
- package/dist/index.d.ts +17 -0
- package/dist/index.esm.js +1055 -1043
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -248,6 +248,12 @@ export declare const getIsEn: () => boolean;
|
|
|
248
248
|
*/
|
|
249
249
|
export declare function getJoinCompanyApi(data: any): Promise<any>;
|
|
250
250
|
|
|
251
|
+
/**
|
|
252
|
+
* 获取当前语言
|
|
253
|
+
* @returns
|
|
254
|
+
*/
|
|
255
|
+
export declare function getLanguage(): string | undefined;
|
|
256
|
+
|
|
251
257
|
/**
|
|
252
258
|
* 获取登录微信二维码
|
|
253
259
|
* @param data
|
|
@@ -262,6 +268,15 @@ export declare function getLoginQrCode(data?: {}): Promise<any>;
|
|
|
262
268
|
*/
|
|
263
269
|
export declare function getMEVCodeApi(data: any): Promise<any>;
|
|
264
270
|
|
|
271
|
+
/**
|
|
272
|
+
* 根据用户 id 获取手机号
|
|
273
|
+
* @param data
|
|
274
|
+
* @returns
|
|
275
|
+
*/
|
|
276
|
+
export declare function getMobileEmailApi(data: {
|
|
277
|
+
id: string;
|
|
278
|
+
}): Promise<any>;
|
|
279
|
+
|
|
265
280
|
/**
|
|
266
281
|
* 跨环境获取 Path
|
|
267
282
|
*/
|
|
@@ -324,6 +339,8 @@ export declare const getSharedConfig: () => {
|
|
|
324
339
|
*/
|
|
325
340
|
export declare function getToken(): string | undefined;
|
|
326
341
|
|
|
342
|
+
export declare function getUserInfoApi(data: any): Promise<any>;
|
|
343
|
+
|
|
327
344
|
export declare const HasLoginKey = "hasLogin";
|
|
328
345
|
|
|
329
346
|
/**
|