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) => { upGoogleCaptcha: (data) => {
return request({ return request({
url: '/system/user/upGoogleCaptcha', url: '/system/user/upGoogleCaptcha?userId=' + data.userId,
method: 'PUT', method: 'PUT',
data: data, data: data,
headers: { 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> 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)" <el-button size="small" type="text" style="color: #006EFF;" @click="go('/add', scope.row.storeId)"
v-if="scope.row.userType == 'store'" v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">通道</el-button>
v-hasPermi="['store:store:query']"
>通道</el-button>
<el-button size="small" type="text" style="color: #006EFF;" @click="go('/rate', scope.row.storeId)" <el-button size="small" type="text" style="color: #006EFF;" @click="go('/rate', scope.row.storeId)"
v-if="scope.row.userType == 'store'" v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">费率</el-button>
v-hasPermi="['store:store:query']"
>费率</el-button>
<el-button size="small" type="text" style="color: #006EFF;" @click="go('/operate', scope.row.storeId)" <el-button size="small" type="text" style="color: #006EFF;" @click="go('/operate', scope.row.storeId)"
v-if="scope.row.userType == 'store'" v-if="scope.row.userType == 'store'" v-hasPermi="['store:store:query']">配置</el-button>
v-hasPermi="['store:store:query']"
>配置</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -794,7 +788,9 @@ export default {
// //
updateKey() { updateKey() {
payAgentUser payAgentUser
.upGoogleCaptcha() .upGoogleCaptcha({
userId: this.form.userId
})
.then((response) => { .then((response) => {
this.form.googleCaptcha = response.data.googleCaptcha this.form.googleCaptcha = response.data.googleCaptcha
}); });
@ -887,6 +883,7 @@ export default {
/** 身份验证操作 */ /** 身份验证操作 */
handleCode(title, val) { handleCode(title, val) {
this.reset(); this.reset();
console.log(val)
// userid // userid
if (val) { if (val) {
this.form.userId = val.userId this.form.userId = val.userId

BIN
正式7uppay.zip

Binary file not shown.

BIN
测试7uppay.zip

Binary file not shown.
Loading…
Cancel
Save