|
@@ -33,6 +33,7 @@ class PushMessageService
|
|
$pushUser = QappPushUser::getPushUserByUid($uid);
|
|
$pushUser = QappPushUser::getPushUserByUid($uid);
|
|
$regId = getProp($pushUser, 'reg_id');
|
|
$regId = getProp($pushUser, 'reg_id');
|
|
$regIdList = [$regId];
|
|
$regIdList = [$regId];
|
|
|
|
+ myLog('push')->info('pushMessageToUser', compact('uid', 'title', 'content', 'url', 'pushUser'));
|
|
if (empty($regId)) {
|
|
if (empty($regId)) {
|
|
Utils::throwError(ErrorConst::PUSH_TOKEN_INVALID);
|
|
Utils::throwError(ErrorConst::PUSH_TOKEN_INVALID);
|
|
}
|
|
}
|