|
|
@@ -457,14 +457,8 @@ class wxUtil
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * 客服接口发消息
|
|
|
- * @param unknown_type $content
|
|
|
- * @param unknown_type $appId
|
|
|
- * @param unknown_type $openId
|
|
|
- * @return unknown
|
|
|
- */
|
|
|
+
|
|
|
+ //客服接口发消息
|
|
|
public static function sendMsg($content, $merchant, $openId)
|
|
|
{
|
|
|
$token = self::getAuthorizerAccessToken($merchant);
|
|
|
@@ -475,7 +469,7 @@ class wxUtil
|
|
|
$result = Json::decode($result);
|
|
|
return $result;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public static function sendImgMsg($mediaId, $merchant, $openId)
|
|
|
{
|
|
|
$token = self::getAuthorizerAccessToken($merchant);
|