Merge branch 'dev' of https://gitea.lihaink.cn/mkm/shop-php into dev
This commit is contained in:
commit
8937835bbc
@ -280,7 +280,9 @@ class Auth extends BaseController
|
||||
if (!$merchant) {
|
||||
return app('json')->fail('用户店铺异常');
|
||||
}
|
||||
$repository = app()->make(StoreOrderRepository::class);
|
||||
if($merchant['margin'] == 0){
|
||||
return app('json')->fail('当前金额为0,不能进行充值');
|
||||
}
|
||||
$orderSn = "bzj" . date('YmdHis') . uniqid();
|
||||
Db::name('margin_order')->insert([
|
||||
'uid' => $user['uid'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user