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
3cf58bf6
Commit
3cf58bf6
authored
Nov 02, 2019
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
23685cc3
e017bbd8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
1 deletions
+30
-1
UPGRADE_2.x.md
+12
-0
src/Order/Enum/PayOriginEnum.php
+2
-1
src/Transfer/Enum/TransferEnum.php
+3
-0
src/Transfer/Enum/WxTransferEnum.php
+3
-0
src/Wx3rd/Lib/EntrustedInterface.php
+10
-0
No files found.
UPGRADE_2.x.md
View file @
3cf58bf6
# 2.0.33
-
添加返回小微商户信息的rpc接口
# 2.0.32
-
支付来源添加枚举
# 2.0.31
-
打款服务添加枚举
# 2.0.30
-
添加卡券功能
# 2.0.29
-
添加分销代理者角色
...
...
src/Order/Enum/PayOriginEnum.php
View file @
3cf58bf6
...
...
@@ -9,5 +9,5 @@ class PayOriginEnum
const
CARD
=
4
;
//储值卡支付
const
TIMESCARD
=
5
;
//次卡支付
const
BUYER_MP
=
6
;
//买家公众号
const
QUICKPAY_H5
=
7
;
// h5页面快速支付
}
\ No newline at end of file
src/Transfer/Enum/TransferEnum.php
View file @
3cf58bf6
...
...
@@ -18,4 +18,6 @@ class TransferEnum
const
ORIGIN_FRONTEND
=
1
;
//前台打款
const
ORIGIN_BACKEND
=
2
;
//前台打款
const
ORIGIN_WRWD
=
3
;
//万人万店打款
}
\ No newline at end of file
src/Transfer/Enum/WxTransferEnum.php
View file @
3cf58bf6
...
...
@@ -12,4 +12,6 @@ class WxTransferEnum
const
FRONTEND
=
1
;
const
BACKEND
=
2
;
const
WRWD
=
3
;
}
\ No newline at end of file
src/Wx3rd/Lib/EntrustedInterface.php
View file @
3cf58bf6
...
...
@@ -19,6 +19,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetEntrustedDataByMchid(int $mchid, array $fields = [])
* @method ResultInterface deferGetEntAccessToken($storeId)
* @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid)
* @method ResultInterface deferGetMicroMchData(int $storeId)
*/
interface
EntrustedInterface
{
...
...
@@ -62,4 +63,12 @@ interface EntrustedInterface
*/
public
function
getEntrustedDataByMchid
(
int
$mchid
,
array
$fields
=
[]);
/**
* 根据店铺id获取小微商户信息
*
* @param int $storeId
* @return bool
*/
public
function
getMicroMchData
(
int
$storeId
);
}
\ No newline at end of file
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