Compare commits
4 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
f8439663fa | |
|
|
25ca4fdd0c | |
|
|
2a4f94b62f | |
|
|
eb194867a8 |
|
|
@ -9,12 +9,7 @@ type ChunkInfo = {
|
||||||
partCount: number;
|
partCount: number;
|
||||||
uploadId: string;
|
uploadId: string;
|
||||||
merged: boolean;
|
merged: boolean;
|
||||||
parts: Array<{
|
parts: Array<string>;
|
||||||
partNumber: number;
|
|
||||||
uploadUrl: string;
|
|
||||||
etag: string;
|
|
||||||
formData?: Record<string, any>;
|
|
||||||
}>;
|
|
||||||
};
|
};
|
||||||
export type OpSchema = EntityShape & {
|
export type OpSchema = EntityShape & {
|
||||||
origin: CosOrigin;
|
origin: CosOrigin;
|
||||||
|
|
|
||||||
|
|
@ -58,5 +58,18 @@ export const desc = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actionType: "crud",
|
actionType: "crud",
|
||||||
actions
|
actions,
|
||||||
|
indexes: [
|
||||||
|
{
|
||||||
|
// 业务上可能涉及的间接授权查询,建立索引以避免全表扫描
|
||||||
|
name: 'idx_oauthUser_composite',
|
||||||
|
attributes: [{
|
||||||
|
name: "userId",
|
||||||
|
}, {
|
||||||
|
name: 'providerUserId',
|
||||||
|
}, {
|
||||||
|
name: "providerConfigId",
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,7 @@ type ChunkInfo = {
|
||||||
partCount: number;
|
partCount: number;
|
||||||
uploadId: string;
|
uploadId: string;
|
||||||
merged: boolean;
|
merged: boolean;
|
||||||
parts: Array<{
|
parts: Array<string>;
|
||||||
partNumber: number;
|
|
||||||
uploadUrl: string;
|
|
||||||
etag: string;
|
|
||||||
formData?: Record<string, any>;
|
|
||||||
}>;
|
|
||||||
};
|
};
|
||||||
export type OpSchema = EntityShape & {
|
export type OpSchema = EntityShape & {
|
||||||
origin: CosOrigin;
|
origin: CosOrigin;
|
||||||
|
|
|
||||||
|
|
@ -61,5 +61,18 @@ exports.desc = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actionType: "crud",
|
actionType: "crud",
|
||||||
actions: Action_1.actions
|
actions: Action_1.actions,
|
||||||
|
indexes: [
|
||||||
|
{
|
||||||
|
// 业务上可能涉及的间接授权查询,建立索引以避免全表扫描
|
||||||
|
name: 'idx_oauthUser_composite',
|
||||||
|
attributes: [{
|
||||||
|
name: "userId",
|
||||||
|
}, {
|
||||||
|
name: 'providerUserId',
|
||||||
|
}, {
|
||||||
|
name: "providerConfigId",
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
10
package.json
10
package.json
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "oak-pay-business",
|
"name": "oak-pay-business",
|
||||||
"version": "3.5.0",
|
"version": "3.5.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"files": [
|
"files": [
|
||||||
"lib/**/*",
|
"lib/**/*",
|
||||||
|
|
@ -31,10 +31,10 @@
|
||||||
"alipay-sdk": "^4.14.0",
|
"alipay-sdk": "^4.14.0",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.5",
|
||||||
"oak-domain": "^5.1.33",
|
"oak-domain": "file:../oak-domain",
|
||||||
"oak-external-sdk": "^2.3.12",
|
"oak-external-sdk": "file:../oak-external-sdk",
|
||||||
"oak-frontend-base": "^5.3.45",
|
"oak-frontend-base": "file:../oak-frontend-base",
|
||||||
"oak-general-business": "~5.11.0",
|
"oak-general-business": "file:../oak-general-business",
|
||||||
"react-markdown": "^9.0.3",
|
"react-markdown": "^9.0.3",
|
||||||
"wechat-pay-nodejs": "^0.2.3"
|
"wechat-pay-nodejs": "^0.2.3"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue