提交 ceb673ff authored 作者: 郑伟娜's avatar 郑伟娜

修改短信验证码接口

上级 fedb26d8
......@@ -71,3 +71,13 @@ export const applyDetail = (params) => {
})
}
// 发送验证码
export const sendMobile = (params) => {
return request({
url: '/local/seller/sendMobile',
method: 'get',
params
})
}
......@@ -18,7 +18,7 @@
<div style="display: flex; align-items: center;" v-if="!isPay">
<span><i class="el-icon-error" style="color: red; font-size: 26px;"></i></span>
<span style="margin: 0 20px 0 5px;">未缴纳保证金</span>
<span>根据您的商品所在类目,需缴纳【5000.00元】保证金,您还未缴纳!保证金用于您的信用保障和消费者的权益保护,如果您有违约责任,平台将根据规定扣除您一定比例的保证金。</span>
<span>根据您的商品所在类目,需缴纳【{{ getFixed(cate_bond - bond) }}元】保证金,您还未缴纳!保证金用于您的信用保障和消费者的权益保护,如果您有违约责任,平台将根据规定扣除您一定比例的保证金。</span>
</div>
<div style="display: flex; justify-content: space-between; margin-top: 50px;">
<div style="width: 33%; text-align: center; border-right: 2px solid #E8E7E7;">
......@@ -40,7 +40,7 @@
</div>
<div style="text-align: center; margin-top: 50px; width: 100%;">
<el-button type="primary" size="mini" style="width: 80px;" @click="payDialog = true" :disabled="isPay || !isShowPay">充值</el-button>
<el-button size="mini" style="width: 80px;" @click="cancellationDialog = true" :disabled="bond == 0">申请退保</el-button>
<el-button size="mini" style="width: 80px;" @click="cancellationDialog = true" :disabled="bond <= 0">申请退保</el-button>
</div>
</div>
<div class="flowList">
......@@ -121,7 +121,7 @@
>
<div>
<div class="header" style="text-align: center; font-size: 12px; line-height: 20px;">
根据您的商品所在类目,需缴纳5000.00元保证金,【不支持个人转账】
根据您的商品所在类目,需缴纳{{ getFixed(cate_bond - bond) }}元保证金,【不支持个人转账】
</div>
<el-form ref="payForm" :model="payForm" label-width="110px" style="margin-top: 20px;">
<el-form-item label="应缴纳额度:">
......@@ -315,8 +315,8 @@
<script>
import { UploadImg } from '@/api/module/goods'
import { shopInfo, bondDetail, addBond, bondByCate, accountList, bondApply, payDetails, applyDetail } from '@/api/securityFund';
import { getTelphoneCode } from '@/api/module/settings'
import { shopInfo, bondDetail, addBond, bondByCate, accountList, bondApply, payDetails, applyDetail, sendMobile } from '@/api/securityFund';
// import { getTelphoneCode } from '@/api/module/settings'
import { dateFormat } from '@/utils'
export default {
......@@ -567,7 +567,7 @@
}
// 获取验证码
getTelphoneCode(this.emergency_tel).then(res => {
sendMobile().then(res => {
if(res.code == 1) {
this.$message({type:"success",message: '验证码发送成功'})
}else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论