appid增加
This commit is contained in:
parent
750922c987
commit
db29cb5f8d
|
@ -2,7 +2,7 @@ const config = {
|
||||||
terminal: 1, //终端
|
terminal: 1, //终端
|
||||||
title: '后台管理系统', //网站默认标题
|
title: '后台管理系统', //网站默认标题
|
||||||
version: '1.6.0', //版本号
|
version: '1.6.0', //版本号
|
||||||
baseUrl: `${import.meta.env.VITE_APP_BASE_URL || 'http://192.168.1.16:8081'}/`, //请求接口域名
|
baseUrl: `${import.meta.env.VITE_APP_BASE_URL || 'http://192.168.1.19:8000/'}/`, //请求接口域名
|
||||||
urlPrefix: 'adminapi', //请求默认前缀
|
urlPrefix: 'adminapi', //请求默认前缀
|
||||||
timeout: 10 * 1000 //请求超时时长
|
timeout: 10 * 1000 //请求超时时长
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="edit-popup">
|
<div class="edit-popup">
|
||||||
<popup
|
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
|
||||||
ref="popupRef"
|
|
||||||
:title="popupTitle"
|
|
||||||
:async="true"
|
|
||||||
width="550px"
|
|
||||||
@confirm="handleSubmit"
|
|
||||||
@close="handleClose"
|
|
||||||
>
|
|
||||||
<el-form ref="formRef" :model="formData" label-width="84px" :rules="formRules">
|
<el-form ref="formRef" :model="formData" label-width="84px" :rules="formRules">
|
||||||
<el-form-item label="支付方式">
|
<el-form-item label="支付方式">
|
||||||
<el-radio :label="popupTitle" :model-value="popupTitle" />
|
<el-radio :label="popupTitle" :model-value="popupTitle" />
|
||||||
|
@ -41,32 +34,27 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="APPID" prop="config.app_id">
|
||||||
|
<div class="flex-1">
|
||||||
|
<el-input v-model="formData.config.app_id" placeholder="请输入APPID" />
|
||||||
|
<div class="form-tips">APPID</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="微信支付商户号" prop="config.mch_id">
|
<el-form-item label="微信支付商户号" prop="config.mch_id">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<el-input
|
<el-input v-model="formData.config.mch_id" placeholder="请输入微信支付商户号" />
|
||||||
v-model="formData.config.mch_id"
|
|
||||||
placeholder="请输入微信支付商户号"
|
|
||||||
/>
|
|
||||||
<div class="form-tips">微信支付商户号(MCHID)</div>
|
<div class="form-tips">微信支付商户号(MCHID)</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="商户API密钥" prop="config.pay_sign_key">
|
<el-form-item label="商户API密钥" prop="config.pay_sign_key">
|
||||||
<el-input
|
<el-input v-model="formData.config.pay_sign_key" placeholder="请输入微信支付商户API密钥" />
|
||||||
v-model="formData.config.pay_sign_key"
|
|
||||||
placeholder="请输入微信支付商户API密钥"
|
|
||||||
/>
|
|
||||||
<span class="form-tips">微信支付商户API密钥(paySignKey)</span>
|
<span class="form-tips">微信支付商户API密钥(paySignKey)</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="微信支付证书" prop="config.apiclient_cert">
|
<el-form-item label="微信支付证书" prop="config.apiclient_cert">
|
||||||
<el-input
|
<el-input type="textarea" rows="3" v-model="formData.config.apiclient_cert"
|
||||||
type="textarea"
|
placeholder="请输入微信支付证书" />
|
||||||
rows="3"
|
|
||||||
v-model="formData.config.apiclient_cert"
|
|
||||||
placeholder="请输入微信支付证书"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<span class="form-tips">
|
<span class="form-tips">
|
||||||
微信支付证书(apiclient_cert.pem),前往微信商家平台生成并黏贴至此处
|
微信支付证书(apiclient_cert.pem),前往微信商家平台生成并黏贴至此处
|
||||||
|
@ -74,12 +62,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="微信支付证书密钥" prop="config.apiclient_key">
|
<el-form-item label="微信支付证书密钥" prop="config.apiclient_key">
|
||||||
<el-input
|
<el-input type="textarea" rows="3" v-model="formData.config.apiclient_key"
|
||||||
type="textarea"
|
placeholder="请输入微信支付证书密钥" />
|
||||||
rows="3"
|
|
||||||
v-model="formData.config.apiclient_key"
|
|
||||||
placeholder="请输入微信支付证书密钥"
|
|
||||||
/>
|
|
||||||
<span class="form-tips">
|
<span class="form-tips">
|
||||||
微信支付证书密钥(apiclient_key.pem),前往微信商家平台生成并黏贴至此处
|
微信支付证书密钥(apiclient_key.pem),前往微信商家平台生成并黏贴至此处
|
||||||
</span>
|
</span>
|
||||||
|
@ -122,34 +106,23 @@
|
||||||
|
|
||||||
<el-form-item label="应用ID" prop="config.app_id">
|
<el-form-item label="应用ID" prop="config.app_id">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<el-input
|
<el-input v-model="formData.config.app_id" placeholder="请输入支付宝应用ID" />
|
||||||
v-model="formData.config.app_id"
|
|
||||||
placeholder="请输入支付宝应用ID"
|
|
||||||
/>
|
|
||||||
<span class="form-tips"> 支付宝应用APP_ID </span>
|
<span class="form-tips"> 支付宝应用APP_ID </span>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="应用私钥" prop="config.private_key">
|
<el-form-item label="应用私钥" prop="config.private_key">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<el-input
|
<el-input type="textarea" rows="3" v-model="formData.config.private_key"
|
||||||
type="textarea"
|
placeholder="请输入支付宝应用私钥" />
|
||||||
rows="3"
|
|
||||||
v-model="formData.config.private_key"
|
|
||||||
placeholder="请输入支付宝应用私钥"
|
|
||||||
/>
|
|
||||||
<span class="form-tips">支付宝应用私钥(private_key) </span>
|
<span class="form-tips">支付宝应用私钥(private_key) </span>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="支付宝公钥" prop="config.ali_public_key">
|
<el-form-item label="支付宝公钥" prop="config.ali_public_key">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<el-input
|
<el-input type="textarea" rows="3" v-model="formData.config.ali_public_key"
|
||||||
type="textarea"
|
placeholder="请输入支付宝公钥" />
|
||||||
rows="3"
|
|
||||||
v-model="formData.config.ali_public_key"
|
|
||||||
placeholder="请输入支付宝公钥"
|
|
||||||
/>
|
|
||||||
<span class="form-tips">支付宝公钥(ali_public_key) </span>
|
<span class="form-tips">支付宝公钥(ali_public_key) </span>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
Loading…
Reference in New Issue