作者 王智

222

... ... @@ -155,10 +155,10 @@ 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 != '') {
if ($quota != null) {
echo '1';
} else {
echo '1';
echo '2';
}
die;
if ($param['total'] > $quota) {
... ...