Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
ddeac9ef
Commit
ddeac9ef
authored
Sep 26, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新加获取托管小程序access_token的接口
parent
a7b0f09a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
UPGRADE_2.x.md
+3
-0
src/Wx3rd/Lib/EntrustedInterface.php
+10
-0
No files found.
UPGRADE_2.x.md
View file @
ddeac9ef
# 2.0.24
-
新加获取托管小程序access_token的接口
# 2.0.23
# 2.0.23
-
v3,v4整合上线
-
v3,v4整合上线
...
...
src/Wx3rd/Lib/EntrustedInterface.php
View file @
ddeac9ef
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment