Browse Source

’更新’

master
j1ack 2 years ago
parent
commit
17d2c6f076
  1. 2
      src/api/form.js
  2. 17
      src/views/pay/payAgentUser/payAgentUserList.vue
  3. BIN
      正式7uppay.zip
  4. BIN
      测试7uppay.zip

2
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: {

17
src/views/pay/payAgentUser/payAgentUserList.vue

@ -180,17 +180,11 @@
v-hasPermi="['order:rechargeRecord:capitalList']" v-if="scope.row.userType == 'store'">子钱包</el-button>
<el-button size="small" type="text" style="color: #006EFF;" @click="go('/add', scope.row.storeId)"
v-if="scope.row.userType == 'store'"
v-hasPermi="['store:store:query']"
>通道</el-button>
v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">通道</el-button>
<el-button size="small" type="text" style="color: #006EFF;" @click="go('/rate', scope.row.storeId)"
v-if="scope.row.userType == 'store'"
v-hasPermi="['store:store:query']"
>费率</el-button>
v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">费率</el-button>
<el-button size="small" type="text" style="color: #006EFF;" @click="go('/operate', scope.row.storeId)"
v-if="scope.row.userType == 'store'"
v-hasPermi="['store:store:query']"
>配置</el-button>
v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">配置</el-button>
</template>
</el-table-column>
</el-table>
@ -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

BIN
正式7uppay.zip

Binary file not shown.

BIN
测试7uppay.zip

Binary file not shown.
Loading…
Cancel
Save