diff --git a/src/api/form.js b/src/api/form.js index a7fad6a..45cf2d8 100644 --- a/src/api/form.js +++ b/src/api/form.js @@ -279,7 +279,7 @@ export const payAgentUser = { // 更新密钥 upGoogleCaptcha: (data) => { return request({ - url: '/system/user/upGoogleCaptcha', + url: '/system/user/upGoogleCaptcha?userId=' + data.userId, method: 'PUT', data: data, headers: { diff --git a/src/views/pay/payAgentUser/payAgentUserList.vue b/src/views/pay/payAgentUser/payAgentUserList.vue index fdcf017..af3f81b 100644 --- a/src/views/pay/payAgentUser/payAgentUserList.vue +++ b/src/views/pay/payAgentUser/payAgentUserList.vue @@ -180,17 +180,11 @@ v-hasPermi="['order:rechargeRecord:capitalList']" v-if="scope.row.userType == 'store'">子钱包 通道 + v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">通道 费率 + v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">费率 配置 + v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">配置 @@ -794,7 +788,9 @@ export default { // 更新密钥 updateKey() { payAgentUser - .upGoogleCaptcha() + .upGoogleCaptcha({ + userId: this.form.userId + }) .then((response) => { this.form.googleCaptcha = response.data.googleCaptcha }); @@ -887,6 +883,7 @@ export default { /** 身份验证操作 */ handleCode(title, val) { this.reset(); + console.log(val) // 添加userid if (val) { this.form.userId = val.userId diff --git a/正式7uppay.zip b/正式7uppay.zip index 4bdfc7f..5e7d145 100644 Binary files a/正式7uppay.zip and b/正式7uppay.zip differ diff --git a/测试7uppay.zip b/测试7uppay.zip index bff959f..e16d146 100644 Binary files a/测试7uppay.zip and b/测试7uppay.zip differ