作者 王智

xiugai

... ... @@ -226,7 +226,7 @@ class Config extends Api
{
$UserId = $this->IsToken($this->request->header());
$Params = $this->request->param();
$IsGive = Db::name('message')->where('user_id', $UserId)->where('ob_id', $Params['ob_id'])->where('type', 2)->where('message', null)->find();
$IsGive = Db::name('message')->where('user_id', $UserId)->where('ob_id', $Params['ob_id'])->where('type', 2)->where('message', '')->find();
$ObInfo = Db::name('ob')->where('id', $Params['ob_id'])->find();
if ($Params['gift_id'] != 0) {
if (!empty($IsGive)) {
... ...