发短信响应
This commit is contained in:
@@ -50,6 +50,7 @@ class BirthdayGiftSms implements Consumer
|
||||
Db::table('mk_birthday_gift_record')->where(['id' => $record['id']])->update([
|
||||
'push_status' => 'await_push',
|
||||
'biz_id' => $res['BizId'],
|
||||
'push_resp' => $res['Message'],
|
||||
'phone' => $user['phone'],
|
||||
'push_time' => date('Y-m-d H:i:s'),
|
||||
]);
|
||||
@@ -57,6 +58,7 @@ class BirthdayGiftSms implements Consumer
|
||||
Db::table('mk_birthday_gift_record')->where(['id' => $record['id']])->update([
|
||||
'push_status' => 'failed',
|
||||
'phone' => $user['phone'],
|
||||
'push_resp' => $res['Message'],
|
||||
'push_time' => date('Y-m-d H:i:s'),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user