diff --git a/app/common/service/workWechat/ProductOffer.php b/app/common/service/workWechat/ProductOffer.php index e14c6620..9d966d0e 100644 --- a/app/common/service/workWechat/ProductOffer.php +++ b/app/common/service/workWechat/ProductOffer.php @@ -19,7 +19,7 @@ class ProductOffer $create_time = $data['create_time']; $buyer_name = $data['buyer_name']; $pay_type = $data['pay_type_name']; - $url=getenv('APP_URL')."/api/purchase_product_offer?date=".$data['create_time']; + $urls=getenv('APP_URL')."/api/purchase_product_offer?date=".$data['create_time']; $arr = ["msgtype" => "markdown", "markdown" => ["content" => "有新的采购商品 >订单ID:$order_id >商品名称:$store_name @@ -28,7 +28,7 @@ class ProductOffer >采购金额:$price >采购时间:$create_time >支付方式:$pay_type - [下载今日采购表格]($url)"]]; + [下载今日采购表格]($urls)"]]; (new Curl())->postJson($url, json_encode($arr, true)); } catch (\Throwable $e) { Log::error('推送商品信息保存:'.$e->getMessage());