Merge branch 'feature/excel_payment' of wmtx/platform into master

优化手机设置
master
廖金灵 4 years ago committed by Gogs
commit 80e89c651a

@ -364,7 +364,8 @@ class PaymentController extends BaseController
{
$mobile = $_REQUEST['mobile'];
$verify = $_REQUEST['verify'];
if (!$this->checksafecode($this->admininfo['mobile'], $verify)) {
$flag = A("Public")->checksafecode($this->admininfo['mobile'], $verify);
if (!$flag ) {
$this->error('验证码错误');
}
$dbres = M("Kv")->where("`key`='payment_check_mobile'")->save(['value'=>$mobile]);

@ -169,7 +169,9 @@
<div class="butnbox" >
<div class="butnlist jscheckbutn" style="margin-left: 2px">
<a class='butn' id='doPayment'>批量打款</a>
<if condition="session('payment_user.is_payment') eq 1">
<a class='butn' id='doPayment'>批量打款</a>
</if>
</div>
</div>

@ -74,7 +74,7 @@
$.ajax({
type:'post',
dataType:'json',
data:'phone='+mobile,
data:'phone='+ym,
url:'{:U("Public/telsafecode")}',
success:function(data) {
if (data.status ==1) {

Loading…
Cancel
Save