|
@@ -58,11 +58,13 @@ class UserService
|
|
|
{
|
|
|
myLog('incrAddDeskTop')->info('qappAddDesktop', compact('uid', 'status'));
|
|
|
$log = QappUserAddDestop::where('uid', $uid)->orderBy('id', 'desc')->first();
|
|
|
-
|
|
|
+
|
|
|
if (!$log) {
|
|
|
//第一次加桌 没有任何记录,加桌状态为1
|
|
|
if($status == 1){
|
|
|
$job = new UserAddDeskJob($uid);
|
|
|
+ $test = 'test';
|
|
|
+ myLog('incrAddDeskTop')->info('qappAddDesktop', compact('uid', 'status','test'));
|
|
|
dispatch($job)->onConnection('rabbitmq')->onQueue('qapp_user_add_desk')->delay(now()->addMinutes(3));
|
|
|
}
|
|
|
//第一次加桌 没有任何记录,加桌状态为0
|