短信模板更换
This commit is contained in:
parent
aa83dc6c5b
commit
7453b46c74
|
@ -293,7 +293,7 @@ class SpiderTc extends Command
|
|||
*/
|
||||
private function sms($admin_id, $order) {
|
||||
$user = Admins::cache(true)->where('id', $admin_id)->find();
|
||||
$templateId = 264956;// 261607
|
||||
$templateId = 261607;
|
||||
if ((!config('app.debug', true) || config('app.debug', true) === 'false') && (time() * 1000 - $order->create_at) / 1000 < 2 * 24 * 3600) {
|
||||
echo "发送短信\n";
|
||||
print_r([$order->mobile, $templateId, ['title' => $order->product_name, 'mobile' => $user->mobile]]);
|
||||
|
|
Loading…
Reference in New Issue