短信模板更换

This commit is contained in:
jianghanbo 2024-09-03 10:03:19 +08:00
parent aa83dc6c5b
commit 7453b46c74
1 changed files with 1 additions and 1 deletions

View File

@ -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]]);