feat:【system】支付宝小程序登录补充

This commit is contained in:
YunaiV
2025-11-29 16:06:23 +08:00
parent 09300af7bc
commit 7aab11b984
8 changed files with 52 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ export namespace SystemSocialClientApi {
clientId: string;
clientSecret: string;
agentId?: string;
publicKey?: string;
status: number;
createTime?: Date;
}

View File

@@ -82,6 +82,18 @@ export function useFormSchema(): VbenFormSchema[] {
values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type,
},
},
{
fieldName: 'publicKey',
label: 'publicKey',
component: 'Input',
componentProps: {
placeholder: '请输入 publicKey 公钥',
},
dependencies: {
triggerFields: ['socialType'],
show: (values) => values.socialType === 40,
},
},
{
fieldName: 'status',
label: '状态',

View File

@@ -12,6 +12,7 @@ export namespace SystemSocialClientApi {
clientId: string;
clientSecret: string;
agentId?: string;
publicKey?: string;
status: number;
createTime?: Date;
}

View File

@@ -80,6 +80,18 @@ export function useFormSchema(): VbenFormSchema[] {
values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type,
},
},
{
fieldName: 'publicKey',
label: 'publicKey',
component: 'Input',
componentProps: {
placeholder: '请输入 publicKey 公钥',
},
dependencies: {
triggerFields: ['socialType'],
show: (values) => values.socialType === 40,
},
},
{
fieldName: 'status',
label: '状态',

View File

@@ -12,6 +12,7 @@ export namespace SystemSocialClientApi {
clientId: string;
clientSecret: string;
agentId?: string;
publicKey?: string;
status: number;
createTime?: Date;
}

View File

@@ -79,6 +79,18 @@ export function useFormSchema(): VbenFormSchema[] {
values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type,
},
},
{
fieldName: 'publicKey',
label: 'publicKey',
component: 'Input',
componentProps: {
placeholder: '请输入 publicKey 公钥',
},
dependencies: {
triggerFields: ['socialType'],
show: (values) => values.socialType === 40,
},
},
{
fieldName: 'status',
label: '状态',

View File

@@ -12,6 +12,7 @@ export namespace SystemSocialClientApi {
clientId: string;
clientSecret: string;
agentId?: string;
publicKey?: string;
status: number;
createTime?: Date;
}

View File

@@ -81,6 +81,18 @@ export function useFormSchema(): VbenFormSchema[] {
values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type,
},
},
{
fieldName: 'publicKey',
label: 'publicKey',
component: 'Input',
componentProps: {
placeholder: '请输入 publicKey 公钥',
},
dependencies: {
triggerFields: ['socialType'],
show: (values) => values.socialType === 40,
},
},
{
fieldName: 'status',
label: '状态',