wesmiler 2 ヶ月 前
コミット
70e54f4a3e
1 ファイル変更4 行追加2 行削除
  1. 4 2
      app/Services/MpService.php

+ 4 - 2
app/Services/MpService.php

@@ -37,8 +37,10 @@ class MpService extends BaseService
         'getUserInfo'=>'https://api.weixin.qq.com/sns/jscode2session',
         'getUserInfo'=>'https://api.weixin.qq.com/sns/jscode2session',
         // 获取手机号
         // 获取手机号
         'getPhoneNumber'=>'https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=%s',
         'getPhoneNumber'=>'https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=%s',
-        // 获取快递公司列表
-        'getDelivery'=>'https://api.weixin.qq.com/product/delivery/get_company_list?access_token=%s',
+        // 获取运力公司列表
+        'getDeliveryCompanyList'=>'https://api.weixin.qq.com/product/delivery/get_company_list?access_token=%s',
+        // 获取支持的快递公司列表
+        'getDelivery'=>'POST https://api.weixin.qq.com/cgi-bin/express/local/business/delivery/getall?access_token=%s',
         // 上传发货信息,同步发货状态
         // 上传发货信息,同步发货状态
         'deliverySend'=>'https://api.weixin.qq.com/wxa/sec/order/upload_shipping_info?access_token=%s',
         'deliverySend'=>'https://api.weixin.qq.com/wxa/sec/order/upload_shipping_info?access_token=%s',
     ];
     ];