@ningboyz/wxmp 1.0.24 → 1.0.25

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/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { CoreRequest as t } from "./packages/core/index.js";
2
2
  import { NotiRequest as r } from "./packages/noti/index.js";
3
3
  import { WtuiRequest as o } from "./packages/wtui/index.js";
4
- import { REQUEST_TIMEOUT_MILLISECONDS as p, TWxConfig as n } from "./packages/types.js";
5
- import { WxRequestError as C } from "./packages/wx.js";
6
- import { TCorePathUploaddbQuerys as f, TCoreUnitSelectdbQuerys as Q, TCoreUserDetailddCardQuerys as R, TCoreUserUpdatedbQuerys as U, TWxLoginParams as l } from "./packages/core/types.js";
7
- import { TNotiMainDetaildbQuerys as y, TNotiMainGet4NotiQuerys as w } from "./packages/noti/types.js";
8
- class m {
4
+ import { REQUEST_TIMEOUT_MILLISECONDS as p, TWxConfig as C } from "./packages/types.js";
5
+ import { WxRequestError as c } from "./packages/wx.js";
6
+ import { TCorePathUploaddbQuerys as x, TCoreUnitSelectdbQuerys as Q, TCoreUserDetailddCardQuerys as f, TCoreUserUpdateclQuerys as l, TCoreUserUpdatedbQuerys as y, TWxLoginParams as R } from "./packages/core/types.js";
7
+ import { TNotiMainDetaildbQuerys as w, TNotiMainGet4NotiQuerys as E } from "./packages/noti/types.js";
8
+ class T {
9
9
  static core;
10
10
  static noti;
11
11
  static wtui;
@@ -17,16 +17,17 @@ export {
17
17
  t as CoreRequest,
18
18
  r as NotiRequest,
19
19
  p as REQUEST_TIMEOUT_MILLISECONDS,
20
- m as Request,
21
- f as TCorePathUploaddbQuerys,
20
+ T as Request,
21
+ x as TCorePathUploaddbQuerys,
22
22
  Q as TCoreUnitSelectdbQuerys,
23
- R as TCoreUserDetailddCardQuerys,
24
- U as TCoreUserUpdatedbQuerys,
25
- y as TNotiMainDetaildbQuerys,
26
- w as TNotiMainGet4NotiQuerys,
27
- n as TWxConfig,
28
- l as TWxLoginParams,
23
+ f as TCoreUserDetailddCardQuerys,
24
+ l as TCoreUserUpdateclQuerys,
25
+ y as TCoreUserUpdatedbQuerys,
26
+ w as TNotiMainDetaildbQuerys,
27
+ E as TNotiMainGet4NotiQuerys,
28
+ C as TWxConfig,
29
+ R as TWxLoginParams,
29
30
  o as WtuiRequest,
30
- C as WxRequestError,
31
- m as default
31
+ c as WxRequestError,
32
+ T as default
32
33
  };
@@ -21,6 +21,12 @@ export interface ICoreUserDetailddCardQuerys {
21
21
  export declare class TCoreUserDetailddCardQuerys implements ICoreUserDetailddCardQuerys {
22
22
  usermain: number;
23
23
  }
24
+ export interface ICoreUserUpdateclQuerys {
25
+ entityid: string;
26
+ }
27
+ export declare class TCoreUserUpdateclQuerys implements ICoreUserUpdateclQuerys {
28
+ entityid: string;
29
+ }
24
30
  /** ========== unit ========== */
25
31
  export interface ICoreUnitSelectdbQuerys {
26
32
  unitmain: number;
@@ -10,6 +10,9 @@ class r {
10
10
  usermain = -1;
11
11
  }
12
12
  class d {
13
+ entityid = "";
14
+ }
15
+ class t {
13
16
  unitmain = -1;
14
17
  queuesby = "-1";
15
18
  }
@@ -18,8 +21,9 @@ class o {
18
21
  }
19
22
  export {
20
23
  o as TCorePathUploaddbQuerys,
21
- d as TCoreUnitSelectdbQuerys,
24
+ t as TCoreUnitSelectdbQuerys,
22
25
  r as TCoreUserDetailddCardQuerys,
26
+ d as TCoreUserUpdateclQuerys,
23
27
  a as TCoreUserUpdatedbQuerys,
24
28
  s as TWxLoginParams
25
29
  };
@@ -1,6 +1,6 @@
1
1
  import { TCore } from '@ningboyz/types';
2
2
  import { WxRequest } from '../wx';
3
- import { ICoreUserDetailddCardQuerys, ICoreUserUpdatedbQuerys, IWxLoginParams } from './types';
3
+ import { ICoreUserDetailddCardQuerys, ICoreUserUpdateclQuerys, ICoreUserUpdatedbQuerys, IWxLoginParams } from './types';
4
4
  declare class UserRequest {
5
5
  private wxRequest;
6
6
  constructor(wxRequest: WxRequest);
@@ -26,5 +26,11 @@ declare class UserRequest {
26
26
  updatedb(querys: ICoreUserUpdatedbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TCore.IUserResponse[]>>;
27
27
  /** 获取用户详情(房产) */
28
28
  detailddCard(querys: ICoreUserDetailddCardQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TCore.IUserResponse[]>>;
29
+ /**
30
+ * 更新用户头像
31
+ * @param params
32
+ * @returns
33
+ */
34
+ updatecl(querys: ICoreUserUpdateclQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TCore.IUserResponse[]>>;
29
35
  }
30
36
  export default UserRequest;
@@ -33,6 +33,14 @@ class r {
33
33
  detailddCard(e, t) {
34
34
  return this.wxRequest.post("/gapi/core/tuser/detaildd", e, t);
35
35
  }
36
+ /**
37
+ * 更新用户头像
38
+ * @param params
39
+ * @returns
40
+ */
41
+ updatecl(e, t) {
42
+ return this.wxRequest.post("/gapi/core/tuser/coverurl/updatedb", e, t);
43
+ }
36
44
  }
37
45
  export {
38
46
  r as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/wxmp",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "private": false,
5
5
  "description": "宁波甬政微信小程序库",
6
6
  "author": "nbyt-syq",