Browse Source

'补充加卓人数统计'

zhuchengjie 2 năm trước cách đây
mục cha
commit
cadabed7ff
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      app/Modules/User/Services/UserService.php

+ 4 - 0
app/Modules/User/Services/UserService.php

@@ -84,6 +84,10 @@ class UserService
             //如果有记录,但是都是0 没有1的记录
             $oneexists = QappUserAddDestop::where('uid', $uid)->where('status', 1)->exists();
             if(!$oneexists && $status == 1){
+
+                // 加桌统计
+                QappAddDeskTopService::incrAddDeskTop($uid, QuickConst::FIELD_ADD_DESKTOP);
+
                 $job = new UserAddDeskJob($uid);
                 dispatch($job)->onConnection('rabbitmq')->onQueue('qapp_user_add_desk')->delay(now()->addMinutes(3));
                 return false;