feat:【SocialClient】 支付宝小程序登录补充
parent
f8d99c593d
commit
8651fb4b42
|
|
@ -7,6 +7,7 @@ export interface SocialClientVO {
|
||||||
userType: number
|
userType: number
|
||||||
clientId: string
|
clientId: string
|
||||||
clientSecret: string
|
clientSecret: string
|
||||||
|
publicKey: string
|
||||||
agentId: string
|
agentId: string
|
||||||
status: number
|
status: number
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,9 @@
|
||||||
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
|
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
|
||||||
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID,有则填" />
|
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID,有则填" />
|
||||||
</el-form-item>
|
</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-form-item label="状态" prop="status">
|
||||||
<el-radio-group v-model="formData.status">
|
<el-radio-group v-model="formData.status">
|
||||||
<el-radio
|
<el-radio
|
||||||
|
|
@ -80,6 +83,7 @@ const formData = ref({
|
||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
publicKey: undefined,
|
||||||
agentId: undefined,
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
})
|
})
|
||||||
|
|
@ -146,6 +150,7 @@ const resetForm = () => {
|
||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
publicKey: undefined,
|
||||||
agentId: undefined,
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue