Commit ddeac9ef by 王召彬

新加获取托管小程序access_token的接口

parent a7b0f09a
# 2.0.24
- 新加获取托管小程序access_token的接口
# 2.0.23 # 2.0.23
- v3,v4整合上线 - v3,v4整合上线
......
...@@ -17,6 +17,7 @@ use Swoft\Core\ResultInterface; ...@@ -17,6 +17,7 @@ use Swoft\Core\ResultInterface;
* *
* @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = []) * @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = [])
* @method ResultInterface deferGetEntrustedDataByMchid(int $mchid, array $fields = []) * @method ResultInterface deferGetEntrustedDataByMchid(int $mchid, array $fields = [])
* @method ResultInterface deferGetEntAccessToken($storeId)
* @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid) * @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid)
*/ */
interface EntrustedInterface interface EntrustedInterface
...@@ -31,6 +32,15 @@ interface EntrustedInterface ...@@ -31,6 +32,15 @@ interface EntrustedInterface
public function getEntrustedData(int $storeId, array $fields = []); public function getEntrustedData(int $storeId, array $fields = []);
/** /**
* 根据店铺ID获取托管小程序的 authorizer_access_token
* authorizer_access_token用来调用小程序的相关接口
*
* @param int $storeId
* @return string
*/
public function getEntAccessToken($storeId);
/**
* 根据店铺id和商户平台id获取对应的支付证书 * 根据店铺id和商户平台id获取对应的支付证书
* *
* @param int $storeId * @param int $storeId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment