...
|
...
|
@@ -155,12 +155,12 @@ 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 != 0.00) {
|
|
|
if ($quota != null) {
|
|
|
echo '1';
|
|
|
}else{
|
|
|
} else {
|
|
|
echo '1';
|
|
|
}
|
|
|
die;
|
|
|
die;
|
|
|
if ($param['total'] > $quota) {
|
|
|
$this->error('下单金额大于总额度');
|
|
|
die;
|
...
|
...
|
|