作者 王智

xiugai

... ... @@ -267,7 +267,8 @@ class Config extends Api
// $this->error('只能送出一份礼物');
}
$data = [
'gift_id' => $Params['gift_id']
'gift_id' => $Params['gift_id'],
'createtime' => time()
];
// $GiftId = Db::name('message')->where(['user_id' => $UserId, 'ob_id' => $Params['ob_id'], 'type' => 2])->order('id desc')->value('id');
$Res = Db::name('message')->where('id', $IsHave['id'])->update($data);
... ...