!835 feat:【SocialClient】 支付宝小程序登录补充

Merge pull request !835 from 云扬四海/master-alipaymini
pull/837/head
芋道源码 2025-11-29 02:03:28 +00:00 committed by Gitee
commit 6407e91c72
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ export interface SocialClientVO {
userType: number
clientId: string
clientSecret: string
publicKey: string
agentId: string
status: number
}

View File

@ -44,6 +44,9 @@
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID有则填" />
</el-form-item>
<el-form-item label="publicKey" prop="publicKey" v-if="formData!.socialType === 40">
<el-input v-model="formData.publicKey" placeholder="publicKey公钥" />
</el-form-item>
<el-form-item label="状态" prop="status">
<el-radio-group v-model="formData.status">
<el-radio
@ -80,6 +83,7 @@ const formData = ref({
userType: undefined,
clientId: undefined,
clientSecret: undefined,
publicKey: undefined,
agentId: undefined,
status: 0
})
@ -146,6 +150,7 @@ const resetForm = () => {
userType: undefined,
clientId: undefined,
clientSecret: undefined,
publicKey: undefined,
agentId: undefined,
status: 0
}