Merge branch 'dev' into release

This commit is contained in:
Xu Chang 2026-01-23 08:36:03 +08:00
commit acf830df9d
5 changed files with 34 additions and 18 deletions

View File

@ -9,12 +9,7 @@ type ChunkInfo = {
partCount: number;
uploadId: string;
merged: boolean;
parts: Array<{
partNumber: number;
uploadUrl: string;
etag: string;
formData?: Record<string, any>;
}>;
parts: Array<string>;
};
export type OpSchema = EntityShape & {
origin: CosOrigin;

View File

@ -58,5 +58,18 @@ export const desc = {
}
},
actionType: "crud",
actions
actions,
indexes: [
{
// 业务上可能涉及的间接授权查询,建立索引以避免全表扫描
name: 'idx_oauthUser_composite',
attributes: [{
name: "userId",
}, {
name: 'providerUserId',
}, {
name: "providerConfigId",
}]
}
]
};

View File

@ -9,12 +9,7 @@ type ChunkInfo = {
partCount: number;
uploadId: string;
merged: boolean;
parts: Array<{
partNumber: number;
uploadUrl: string;
etag: string;
formData?: Record<string, any>;
}>;
parts: Array<string>;
};
export type OpSchema = EntityShape & {
origin: CosOrigin;

View File

@ -61,5 +61,18 @@ exports.desc = {
}
},
actionType: "crud",
actions: Action_1.actions
actions: Action_1.actions,
indexes: [
{
// 业务上可能涉及的间接授权查询,建立索引以避免全表扫描
name: 'idx_oauthUser_composite',
attributes: [{
name: "userId",
}, {
name: 'providerUserId',
}, {
name: "providerConfigId",
}]
}
]
};

View File

@ -1,6 +1,6 @@
{
"name": "oak-pay-business",
"version": "3.5.0",
"version": "3.5.1",
"description": "",
"files": [
"lib/**/*",
@ -31,10 +31,10 @@
"alipay-sdk": "^4.14.0",
"classnames": "^2.3.1",
"dayjs": "^1.11.5",
"oak-domain": "^5.1.33",
"oak-external-sdk": "^2.3.12",
"oak-domain": "^5.1.34",
"oak-external-sdk": "^2.3.13",
"oak-frontend-base": "^5.3.45",
"oak-general-business": "~5.11.0",
"oak-general-business": "~5.11.1",
"react-markdown": "^9.0.3",
"wechat-pay-nodejs": "^0.2.3"
},