修复错误
This commit is contained in:
parent
b15b790655
commit
5d0c1c3590
@ -93,7 +93,6 @@ class StoreMicropayOrder extends BaseController
|
||||
{
|
||||
$cartId = (array)$this->request->param('cart_id', []);
|
||||
$mer_id = $this->request->param('mer_id', 0);
|
||||
$auth_code = $this->request->param('auth_code', 0);
|
||||
$post=[];
|
||||
$couponIds=[];
|
||||
$takes=[];
|
||||
@ -107,9 +106,7 @@ class StoreMicropayOrder extends BaseController
|
||||
if (!$mer_id&&$mer_id!=0){
|
||||
return app('json')->fail('商户id不能为空');
|
||||
}
|
||||
if (!$auth_code&&$auth_code!=0){
|
||||
return app('json')->fail('付款码不能为空');
|
||||
}
|
||||
|
||||
$addressId=Db::name('user_address')->where('uid',$uid)->find();
|
||||
$merchant=Db::name('merchant')->where('mer_id',$mer_id)->find();
|
||||
if (!$addressId){
|
||||
|
Loading…
x
Reference in New Issue
Block a user