三方应用新增授权方的网页应用 agentId 属性
This commit is contained in:
parent
88a22d90e5
commit
a624db04e9
@ -7,6 +7,7 @@ export interface SocialClientVO {
|
|||||||
userType: number
|
userType: number
|
||||||
clientId: string
|
clientId: string
|
||||||
clientSecret: string
|
clientSecret: string
|
||||||
|
agentId: string
|
||||||
status: number
|
status: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,10 +33,16 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="客户端编号" prop="clientId">
|
<el-form-item label="客户端编号" prop="clientId">
|
||||||
<el-input v-model="formData.clientId" placeholder="请输入客户端编号" />
|
<el-input v-model="formData.clientId" placeholder="请输入客户端编号,对应各平台的appKey" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="客户端密钥" prop="clientSecret">
|
<el-form-item label="客户端密钥" prop="clientSecret">
|
||||||
<el-input v-model="formData.clientSecret" placeholder="请输入客户端密钥" />
|
<el-input
|
||||||
|
v-model="formData.clientSecret"
|
||||||
|
placeholder="请输入客户端密钥,对应各平台的appSecret"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="agentId" prop="agentId">
|
||||||
|
<el-input v-model="formData.agentId" placeholder="授权方的网页应用ID,有则填" />
|
||||||
</el-form-item>
|
</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">
|
||||||
@ -74,6 +80,7 @@ const formData = ref({
|
|||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
})
|
})
|
||||||
const formRules = reactive({
|
const formRules = reactive({
|
||||||
@ -139,6 +146,7 @@ const resetForm = () => {
|
|||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
}
|
}
|
||||||
formRef.value?.resetFields()
|
formRef.value?.resetFields()
|
||||||
|
Loading…
Reference in New Issue
Block a user