|
@@ -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;
|