oak-pay-business 2.2.4 → 2.2.5

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.
@@ -3,7 +3,7 @@ export declare function getWithdrawCreateData(params: {
3
3
  accountId: string;
4
4
  price: number;
5
5
  withdrawAccountId?: string;
6
- }, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
6
+ }, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "accountId" | "creatorId">> & {
7
7
  id: string;
8
8
  } & {
9
9
  accountId: string;
@@ -17,7 +17,7 @@ export declare function getWithdrawCreateData(params: {
17
17
  modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
18
18
  operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
19
19
  accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
20
- }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
20
+ }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "accountId" | "creatorId">> & {
21
21
  id: string;
22
22
  } & {
23
23
  accountId: string;
@@ -31,7 +31,7 @@ export declare function getWithdrawCreateData(params: {
31
31
  modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
32
32
  operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
33
33
  accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
34
- }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
34
+ }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "accountId" | "creatorId">> & {
35
35
  id: string;
36
36
  } & {
37
37
  account?: undefined;
@@ -45,7 +45,7 @@ export declare function getWithdrawCreateData(params: {
45
45
  modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
46
46
  operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
47
47
  accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
48
- }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
48
+ }) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "accountId" | "creatorId">> & {
49
49
  id: string;
50
50
  } & {
51
51
  account?: undefined;
@@ -20,13 +20,8 @@ declare const List: <T extends keyof EntityDict>(props: ReactComponentProps<Enti
20
20
  rowSelection?: any;
21
21
  hideHeader?: boolean | undefined;
22
22
  disableSerialNumber?: boolean | undefined;
23
- size?: "small" | "middle" | "large" | undefined;
24
- scroll?: ({
25
- x?: string | number | true | undefined;
26
- y?: string | number | undefined;
27
- } & {
28
- scrollToFirstRowOnChange?: boolean | undefined;
29
- }) | undefined;
23
+ size?: "large" | "middle" | "small" | undefined;
24
+ scroll?: any;
30
25
  locale?: any;
31
26
  opWidth?: number | undefined;
32
27
  }>) => React.ReactElement;
@@ -46,10 +41,11 @@ declare const ListPro: <T extends keyof EntityDict>(props: {
46
41
  tablePagination?: any;
47
42
  rowSelection?: any;
48
43
  disableSerialNumber?: boolean | undefined;
49
- size?: "small" | "middle" | "large" | undefined;
44
+ size?: "large" | "middle" | "small" | undefined;
50
45
  scroll?: any;
51
46
  locale?: any;
52
47
  opWidth?: number | undefined;
48
+ oakPath?: string | undefined;
53
49
  }) => React.ReactElement;
54
50
  declare const Detail: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
55
51
  column?: number | Record<Breakpoint, number> | undefined;
@@ -2,6 +2,7 @@
2
2
  * 抽象组件在业务层根据EntityDict的重新声明
3
3
  * by Xc 20230807
4
4
  */
5
+ // @ts-nocheck
5
6
  import AbsFilterPanel from 'oak-frontend-base/es/components/filterPanel';
6
7
  import AbsList from 'oak-frontend-base/es/components/list';
7
8
  import AbsListPro from 'oak-frontend-base/es/components/listPro';
@@ -2,6 +2,7 @@
2
2
  "usingComponents": {
3
3
  "l-button": "@oak-frontend-base/miniprogram_npm/lin-ui/button/index",
4
4
  "l-popup": "@oak-frontend-base/miniprogram_npm/lin-ui/popup/index",
5
+ "l-arc-popup": "@oak-frontend-base/miniprogram_npm/lin-ui/arc-popup/index",
5
6
  "l-dialog": "@oak-frontend-base/miniprogram_npm/lin-ui/dialog/index",
6
7
  "deposit-new": "../../deposit/new/index"
7
8
  }
@@ -90,8 +90,8 @@
90
90
 
91
91
  .ad-container {
92
92
  padding: 24rpx;
93
- margin-bottom: 12rpx;
94
93
  background-color: white;
94
+ .safe-area-inset-bottom();
95
95
  }
96
96
 
97
97
  .uf {
@@ -47,10 +47,13 @@
47
47
  </view>
48
48
  </view>
49
49
  <block wx:if="{{depositOpen}}">
50
- <l-popup
50
+ <l-arc-popup
51
51
  show="{{depositOpen}}"
52
- content-align="bottom"
52
+ direction="bottom"
53
53
  bind:lintap="onDepositModalClose"
54
+ min-height="200"
55
+ max-height="800"
56
+ z-index="1000"
54
57
  >
55
58
  <view class="ad-container">
56
59
  <deposit-new
@@ -75,7 +78,7 @@
75
78
  </l-button>
76
79
  </view>
77
80
  </view>
78
- </l-popup>
81
+ </l-arc-popup>
79
82
  </block>
80
83
  <block wx:if="{{ufOpen}}">
81
84
  <l-dialog
@@ -1,69 +1,69 @@
1
- .card {
2
- width: 100%;
3
-
4
- .content {
5
- display: flex;
6
- flex-direction: column;
7
- align-items: stretch;
8
-
9
-
10
- .oper {
11
- align-self: center;
12
- width: 70%;
13
- margin-bottom: 28px;
14
- display: flex;
15
- flex-direction: column;
16
- align-items: stretch;
17
-
18
- .title {
19
- margin-bottom: 28px;
20
- align-self: flex-start;
21
- color: var(--oak-color-primary3);
22
- font-size: var(--oak-font-size-title-medium);
23
- }
24
- }
25
- }
26
- }
27
-
28
- .grid {
29
- min-width: 133px;
30
- border-radius: 6px;
31
- padding: 16px;
32
- display: flex;
33
- flex-direction: column;
34
- margin: 13px;
35
-
36
- .label {
37
- font-size: 16px;
38
- font-weight: 400;
39
- color: var(--oak-color-primary);
40
- margin-bottom: 12px;
41
- }
42
-
43
- .value {
44
- font-size: 24px;
45
- font-weight: 600;
46
- color: var(--oak-color-primary);
47
- line-height: 33.6px;
48
- }
49
- }
50
-
51
- .fortify {
52
- background-color: var(--oak-color-primary-light);
53
-
54
- .label {
55
- font-weight: 900;
56
- }
57
-
58
- .value {
59
- font-weight: bolder;
60
- }
61
- }
62
-
63
- .uf {
64
- margin: 12px;
65
- display: flex;
66
- flex-direction: column;
67
- align-items: center;
68
- padding: 12px;
1
+ .card {
2
+ width: 100%;
3
+
4
+ .content {
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: stretch;
8
+
9
+
10
+ .oper {
11
+ align-self: center;
12
+ width: 70%;
13
+ margin-bottom: 28px;
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: stretch;
17
+
18
+ .title {
19
+ margin-bottom: 28px;
20
+ align-self: flex-start;
21
+ color: var(--oak-color-primary3);
22
+ font-size: var(--oak-font-size-title-medium);
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .grid {
29
+ min-width: 133px;
30
+ border-radius: 6px;
31
+ padding: 16px;
32
+ display: flex;
33
+ flex-direction: column;
34
+ margin: 13px;
35
+
36
+ .label {
37
+ font-size: 16px;
38
+ font-weight: 400;
39
+ color: var(--oak-color-primary);
40
+ margin-bottom: 12px;
41
+ }
42
+
43
+ .value {
44
+ font-size: 24px;
45
+ font-weight: 600;
46
+ color: var(--oak-color-primary);
47
+ line-height: 33.6px;
48
+ }
49
+ }
50
+
51
+ .fortify {
52
+ background-color: var(--oak-color-primary-light);
53
+
54
+ .label {
55
+ font-weight: 900;
56
+ }
57
+
58
+ .value {
59
+ font-weight: bolder;
60
+ }
61
+ }
62
+
63
+ .uf {
64
+ margin: 12px;
65
+ display: flex;
66
+ flex-direction: column;
67
+ align-items: center;
68
+ padding: 12px;
69
69
  }
@@ -21,6 +21,7 @@ export default OakComponent({
21
21
  chooseType: false,
22
22
  pickerStart: dayjs().subtract(10, 'y').startOf('m').format('YYYY-MM-DD'),
23
23
  pickerEnd: dayjs().startOf('m').format('YYYY-MM-DD'),
24
+ refreshing: false,
24
25
  },
25
26
  filters: [
26
27
  {
@@ -163,6 +164,17 @@ export default OakComponent({
163
164
  type: key,
164
165
  }, () => this.setTypeFilter());
165
166
  this.closeChooseTypeMp();
166
- }
167
+ },
168
+ bindrefresherrefresh() {
169
+ this.setState({
170
+ refreshing: true
171
+ });
172
+ this.refresh();
173
+ setTimeout(() => {
174
+ this.setState({
175
+ refreshing: false
176
+ });
177
+ }, 1000);
178
+ },
167
179
  }
168
180
  });
@@ -4,7 +4,6 @@
4
4
  <l-input
5
5
  label="{{t('common::pay.symbol')}}"
6
6
  label-width="{{70}}"
7
- focus="{{true}}"
8
7
  show-row="{{false}}"
9
8
  value="{{priceStr || ''}}"
10
9
  type="number"
@@ -52,7 +52,7 @@ export default function Render(props) {
52
52
  label: t('order:attr.settled'),
53
53
  width: 100,
54
54
  }
55
- ]}/>
55
+ ]} oakPath={oakFullpath}/>
56
56
  </div>);
57
57
  }
58
58
  return null;
@@ -1,11 +1,11 @@
1
1
  import Styles from './info.module.less';
2
2
  export default function Info(props) {
3
3
  const { price, t } = props;
4
- return (<div className={Styles.info}>
5
- <div className={Styles.should}>{t('price')}</div>
6
- <div className={Styles.price}>
7
- <div>{t('common::pay.symbol')}</div>
8
- <div>{price}</div>
9
- </div>
4
+ return (<div className={Styles.info}>
5
+ <div className={Styles.should}>{t('price')}</div>
6
+ <div className={Styles.price}>
7
+ <div>{t('common::pay.symbol')}</div>
8
+ <div>{price}</div>
9
+ </div>
10
10
  </div>);
11
11
  }
@@ -1,25 +1,25 @@
1
-
2
- .info {
3
- margin: 8px;
4
- height: 140px;
5
- display: flex;
6
- flex-direction: column;
7
- align-items: center;
8
- justify-content: center;
9
- background-color: var(--oak-color-info);
10
-
11
- .should {
12
- font-size: large;
13
- font-weight: bold;
14
- }
15
-
16
- .price {
17
- display: flex;
18
- flex-direction: row;
19
- padding: 3px;
20
- font-size: xx-large;
21
- font-weight: bolder;
22
- color: var(--oak-color-primary);
23
- align-items: baseline;
24
- }
1
+
2
+ .info {
3
+ margin: 8px;
4
+ height: 140px;
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ justify-content: center;
9
+ background-color: var(--oak-color-info);
10
+
11
+ .should {
12
+ font-size: large;
13
+ font-weight: bold;
14
+ }
15
+
16
+ .price {
17
+ display: flex;
18
+ flex-direction: row;
19
+ padding: 3px;
20
+ font-size: xx-large;
21
+ font-weight: bolder;
22
+ color: var(--oak-color-primary);
23
+ align-items: baseline;
24
+ }
25
25
  }
@@ -1,36 +1,36 @@
1
- .container {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- align-items: stretch;
7
- background-color: var(--oak-bg-color-page);
8
- // min-height: 500px;
9
-
10
- .ctrl {
11
- margin: 8px;
12
- margin-top: 10px;
13
- flex: 1;
14
-
15
- .pc1 {
16
- width: 100%;
17
- height: 100%;
18
- display: flex;
19
- flex-direction: column;
20
- margin-top: 4px;
21
-
22
- .content {
23
- background-color: var(--oak-bg-color-container);
24
- padding: 4px;
25
- border-radius: 2px;
26
- padding: 16px;
27
-
28
- .tips {
29
- color: var(--oak-color-warning);
30
- font-size: small;
31
- margin-top: 3px;
32
- }
33
- }
34
- }
35
- }
1
+ .container {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: stretch;
7
+ background-color: var(--oak-bg-color-page);
8
+ // min-height: 500px;
9
+
10
+ .ctrl {
11
+ margin: 8px;
12
+ margin-top: 10px;
13
+ flex: 1;
14
+
15
+ .pc1 {
16
+ width: 100%;
17
+ height: 100%;
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin-top: 4px;
21
+
22
+ .content {
23
+ background-color: var(--oak-bg-color-container);
24
+ padding: 4px;
25
+ border-radius: 2px;
26
+ padding: 16px;
27
+
28
+ .tips {
29
+ color: var(--oak-color-warning);
30
+ font-size: small;
31
+ margin-top: 3px;
32
+ }
33
+ }
34
+ }
35
+ }
36
36
  }
@@ -1,36 +1,36 @@
1
- .container {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- align-items: stretch;
7
- background-color: var(--oak-bg-color-page);
8
- // min-height: 500px;
9
-
10
- .ctrl {
11
- margin: 8px;
12
- margin-top: 10px;
13
- flex: 1;
14
-
15
- .pc1 {
16
- width: 100%;
17
- height: 100%;
18
- display: flex;
19
- flex-direction: column;
20
- margin-top: 4px;
21
-
22
- .content {
23
- background-color: var(--oak-bg-color-container);
24
- padding: 4px;
25
- border-radius: 2px;
26
- padding: 16px;
27
-
28
- .tips {
29
- color: var(--oak-color-warning);
30
- font-size: small;
31
- margin-left: 10px;
32
- }
33
- }
34
- }
35
- }
1
+ .container {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: stretch;
7
+ background-color: var(--oak-bg-color-page);
8
+ // min-height: 500px;
9
+
10
+ .ctrl {
11
+ margin: 8px;
12
+ margin-top: 10px;
13
+ flex: 1;
14
+
15
+ .pc1 {
16
+ width: 100%;
17
+ height: 100%;
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin-top: 4px;
21
+
22
+ .content {
23
+ background-color: var(--oak-bg-color-container);
24
+ padding: 4px;
25
+ border-radius: 2px;
26
+ padding: 16px;
27
+
28
+ .tips {
29
+ color: var(--oak-color-warning);
30
+ font-size: small;
31
+ margin-left: 10px;
32
+ }
33
+ }
34
+ }
35
+ }
36
36
  }
@@ -135,7 +135,7 @@ export default function Render(props) {
135
135
  setSpId(row.id);
136
136
  }
137
137
  }
138
- }}/>
138
+ }} oakPath={oakFullpath}/>
139
139
  <Modal title={t('csp.title')} width={600} destroyOnClose open={!!spId} footer={null} onCancel={() => {
140
140
  clean();
141
141
  setSpId('');
@@ -1,5 +1,5 @@
1
- .container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
1
+ .container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
5
  }
@@ -1,11 +1,11 @@
1
- .empty {
2
- min-height: 600px;
3
- }
4
-
5
- .container {
6
- width: 100%;
7
- display: flex;
8
- flex-direction: column;
9
- align-items: center;
10
- justify-content: center;
1
+ .empty {
2
+ min-height: 600px;
3
+ }
4
+
5
+ .container {
6
+ width: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: center;
10
+ justify-content: center;
11
11
  }
@@ -118,7 +118,7 @@ export default function Render(props) {
118
118
  setUpsertId(row.id);
119
119
  setUpdateAction(action);
120
120
  }
121
- }}/>
121
+ }} oakPath={oakFullpath}/>
122
122
  {upsertRow && <Modal open={!!upsertId} onCancel={() => {
123
123
  clean();
124
124
  setUpsertId('');
@@ -39,7 +39,7 @@ export default function Render(props) {
39
39
  label: t('withdrawTransfer:attr.externalId'),
40
40
  width: 120,
41
41
  },
42
- ]} disabledOp={true}/>);
42
+ ]} disabledOp={true} oakPath={oakFullpath}/>);
43
43
  }
44
44
  return (<Result status="404" title={t('common::noData')}/>);
45
45
  }
@@ -89,7 +89,7 @@ export default function Render(props) {
89
89
  ]} onAction={(row, action) => {
90
90
  setUpdateId(row.id, action);
91
91
  setUpdateAction(action);
92
- }}/>
92
+ }} oakPath={oakFullpath}/>
93
93
  {updateRow && <Modal open={!!updateId} onCancel={() => {
94
94
  setUpdateId('', '');
95
95
  setUpdateAction('');
@@ -124,7 +124,7 @@ export default function Render(props) {
124
124
  </Form.Item>
125
125
  <Form.Item label={t('label.transferActualPrice')}>
126
126
  <span className={Styles.actualPrice}>
127
- {`${t('common::pay.symbol')} ${ThousandCont(ToYuan(updateRow.price - updateRow.loss), 2)}`}
127
+ {`${t('common::pay.symbol')} ${ThousandCont(ToYuan(updateRow.price - updateRow.loss), 2)}`}
128
128
  </span>
129
129
  </Form.Item>
130
130
  {updateAction === 'succeed' && (<Form.Item label={t('withdrawTransfer:attr.externalId')}>
@@ -15,7 +15,7 @@ export declare class BackendRuntimeContext<ED extends EntityDict & BaseEntityDic
15
15
  type?: number | undefined;
16
16
  systemId?: number | undefined;
17
17
  system?: import("../oak-app-domain/System/Schema").Projection | undefined;
18
- config?: number | import("oak-domain/lib/types").JsonProjection<import("../oak-app-domain/Application/Schema").WechatMpConfig | import("../oak-app-domain/Application/Schema").WebConfig | import("../oak-app-domain/Application/Schema").WechatPublicConfig | import("../oak-app-domain/Application/Schema").NativeConfig> | undefined;
18
+ config?: number | import("oak-domain/lib/types").JsonProjection<import("../oak-app-domain/Application/Schema").WebConfig | import("../oak-app-domain/Application/Schema").WechatMpConfig | import("../oak-app-domain/Application/Schema").WechatPublicConfig | import("../oak-app-domain/Application/Schema").NativeConfig> | undefined;
19
19
  style?: number | import("oak-domain/lib/types").JsonProjection<import("oak-general-business/lib/types/Style").Style> | undefined;
20
20
  domainId?: number | undefined;
21
21
  domain?: import("../oak-app-domain/Domain/Schema").Projection | undefined;
@@ -6,6 +6,6 @@ import { BRC } from '../types/RuntimeCxt';
6
6
  * @param context
7
7
  * @param refunds
8
8
  */
9
- export declare function updateWithdrawState(context: BRC, id: string): Promise<1 | 0>;
9
+ export declare function updateWithdrawState(context: BRC, id: string): Promise<0 | 1>;
10
10
  declare const triggers: Trigger<EntityDict, 'withdraw', BRC>[];
11
11
  export default triggers;
@@ -8,6 +8,9 @@ export declare class ExternalPrePayException<ED extends EntityDict> extends OakE
8
8
  name: string;
9
9
  message: string;
10
10
  opRecords: OpRecord<ED>[];
11
+ tag1: string | undefined;
12
+ tag2: boolean | undefined;
13
+ tag3: any;
11
14
  };
12
15
  }
13
16
  export declare class RefundExceedMax<ED extends EntityDict> extends OakException<ED> {
@@ -14,7 +14,7 @@ export declare const mergedProjection: {
14
14
  type?: number | undefined;
15
15
  systemId?: number | undefined;
16
16
  system?: import("../oak-app-domain/System/Schema").Projection | undefined;
17
- config?: number | import("oak-domain/lib/types").JsonProjection<import("../oak-app-domain/Application/Schema").WechatMpConfig | import("../oak-app-domain/Application/Schema").WebConfig | import("../oak-app-domain/Application/Schema").WechatPublicConfig | import("../oak-app-domain/Application/Schema").NativeConfig> | undefined;
17
+ config?: number | import("oak-domain/lib/types").JsonProjection<import("../oak-app-domain/Application/Schema").WebConfig | import("../oak-app-domain/Application/Schema").WechatMpConfig | import("../oak-app-domain/Application/Schema").WechatPublicConfig | import("../oak-app-domain/Application/Schema").NativeConfig> | undefined;
18
18
  style?: number | import("oak-domain/lib/types").JsonProjection<import("oak-general-business/lib/types/Style").Style> | undefined;
19
19
  domainId?: number | undefined;
20
20
  domain?: import("../oak-app-domain/Domain/Schema").Projection | undefined;
@@ -37,7 +37,8 @@ exports.desc = {
37
37
  : {
38
38
  type: "object"
39
39
  },
40
- entity: {
40
+ entity // 如果为true,则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio,则全额退款)
41
+ : {
41
42
  type: "varchar",
42
43
  params: {
43
44
  length: 32
@@ -8,6 +8,9 @@ export declare class ExternalPrePayException<ED extends EntityDict> extends OakE
8
8
  name: string;
9
9
  message: string;
10
10
  opRecords: OpRecord<ED>[];
11
+ tag1: string | undefined;
12
+ tag2: boolean | undefined;
13
+ tag3: any;
11
14
  };
12
15
  }
13
16
  export declare class RefundExceedMax<ED extends EntityDict> extends OakException<ED> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-pay-business",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib/**/*",
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "classnames": "^2.3.1",
31
31
  "dayjs": "^1.11.5",
32
- "oak-domain": "~5.0.13",
33
- "oak-frontend-base": "~5.2.6",
32
+ "oak-domain": "~5.0.14",
33
+ "oak-frontend-base": "~5.2.8",
34
34
  "oak-general-business": "~5.2.4",
35
35
  "wechat-pay-nodejs": "^0.2.3"
36
36
  },