...
|
...
|
@@ -155,7 +155,7 @@ class Order extends Api |
|
|
$user_id = $this->is_token($this->request->header());
|
|
|
$param = $this->request->param();
|
|
|
$quota = Db::name('user')->where('id', $user_id)->value('sy_quota');
|
|
|
if($quota!=null){
|
|
|
if ($quota != 0) {
|
|
|
if ($param['total'] > $quota) {
|
|
|
$this->error('下单金额大于总额度');
|
|
|
die;
|
...
|
...
|
|