@ningboyz/types 1.5.124 → 1.5.125

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.5.124",
4
+ "version": "1.5.125",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -368,6 +368,10 @@ export interface ICardMainResponse {
368
368
  cardFclb: number;
369
369
  /** 房屋类别(文本) */
370
370
  cardFclbText: string;
371
+ /** 政府债券(字典) */
372
+ cardZfzq: number;
373
+ /** 政府债券(文本) */
374
+ cardZfzqText: string;
371
375
 
372
376
  fromBillIndx: number;
373
377
 
@@ -669,6 +673,8 @@ export class TCardMainResponse implements ICardMainResponse {
669
673
  cardFclxText: string = "";
670
674
  cardFclb: number = 0;
671
675
  cardFclbText: string = "";
676
+ cardZfzq: number = 0;
677
+ cardZfzqText: string = "";
672
678
 
673
679
  lastDate: number = 0;
674
680
  lastTime: number = 0;
@@ -114,6 +114,12 @@ export class TWtuiUserCnfgResponse implements IWtuiUserCnfgResponse {
114
114
  colWidth: TWtuiColWidthResponse[] = [];
115
115
  cnfg: TCnfgPara | undefined = undefined;
116
116
 
117
+ constructor(response?: any) {
118
+ if (response) {
119
+ _.merge(this, _.pick(response, Object.keys(this)));
120
+ }
121
+ }
122
+
117
123
  public static parseJson(dictPara: string) {
118
124
  const defaultDictPara = new TCnfgPara();
119
125
  if (_.isEmpty(dictPara)) {