|
|
|
@ -136,7 +136,14 @@ class CoinOrderController extends BaseController
|
|
|
|
|
if($pay_order_number==''){
|
|
|
|
|
$this->ajaxReturn(['status'=>0,'info'=>'请输入支付凭证','time'=>1000],"JSON");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$is_order = M("coin_pay_order","tab_")
|
|
|
|
|
->where(
|
|
|
|
|
array('pay_order_number'=>$pay_order_number,
|
|
|
|
|
'is_del'=>0
|
|
|
|
|
))->find();
|
|
|
|
|
if($is_order){
|
|
|
|
|
$this->ajaxReturn(['status'=>0,'info'=>'系统已存在支付凭证,请核实~','time'=>1000],"JSON");
|
|
|
|
|
}
|
|
|
|
|
//$res = $this->upload();
|
|
|
|
|
$res = $this->uploadPicture();
|
|
|
|
|
if($res['status']==0){
|
|
|
|
|