소스 검색

抢礼物,bug

lizhen_gitee 1 년 전
부모
커밋
62e5d47892
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/api/controller/Grabgift.php

+ 1 - 1
application/api/controller/Grabgift.php

@@ -141,7 +141,7 @@ class Grabgift extends Api
             $gift_info = Db::name('gift')->where('id',$grab_info['gift_id'])->find();
             if(!empty($gift_info)){
                 $giftdata = [
-                    'user_id'    => $this->auth->id,
+                    'user_id'    => $winer_uid,
                     'gift_id'    => $grab_info['gift_id'],
                     'name'       => $gift_info['name'],
                     'image'      => $gift_info['image'],