进一步完成
This commit is contained in:
@@ -43,11 +43,13 @@ class BirthdayGiftSms implements Consumer
|
||||
Db::table('mk_birthday_gift_record')->where(['id' => $record['id']])->update([
|
||||
'push_status' => 'await_push',
|
||||
'biz_id' => $res['BizId'],
|
||||
'phone' => $user['phone'],
|
||||
'push_time' => date('Y-m-d H:i:s'),
|
||||
]);
|
||||
}else {
|
||||
Db::table('mk_birthday_gift_record')->where(['id' => $record['id']])->update([
|
||||
'push_status' => 'failed',
|
||||
'phone' => $user['phone'],
|
||||
'push_time' => date('Y-m-d H:i:s'),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user