未传金额返回商户
This commit is contained in:
parent
4547634f0e
commit
d5d6b6d038
@ -315,9 +315,18 @@ class StoreOrder extends BaseController
|
||||
//商户id 金额
|
||||
$merId = $this->request->param('mer_id');
|
||||
$money = $this->request->param('money');
|
||||
if(empty($money) || empty($merId)){
|
||||
|
||||
if(empty($merId)){
|
||||
return app('json')->fail('参数缺失');
|
||||
}
|
||||
|
||||
if(empty($money)){
|
||||
//初始化
|
||||
return app('json')->success($this->repository->beginMerchant($merId));
|
||||
}
|
||||
|
||||
|
||||
|
||||
$where = [
|
||||
"a.mer_id" => $merId,
|
||||
"p.is_show" => 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user