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
6b2d3b28
Commit
6b2d3b28
authored
Mar 04, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into test
parents
944ac615
bc35965c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
UPGRADE.md
+9
-1
src/Common/Entity/User.php
+14
-0
src/Order/Enum/OrderEnum.php
+2
-0
src/Order/Enum/PayOriginEnum.php
+2
-1
No files found.
UPGRADE.md
View file @
6b2d3b28
# 1.0.72
-
User实体增加判断是否是托管小程序授权的方法
# 1.0.71
-
买家关系vip统计接口
# 1.0.70
-
买家关系vip统计接口
# 1.0.69
# 1.0.69
-
添加砍价服务关闭订单的支付通知枚举项
-
添加砍价服务关闭订单的支付通知枚举项
# 1.0.68
# 1.0.68
-
添加店铺托管的RPC接口
-
添加店铺托管的RPC接口
...
...
src/Common/Entity/User.php
View file @
6b2d3b28
...
@@ -179,6 +179,20 @@ class User
...
@@ -179,6 +179,20 @@ class User
return
$this
->
getValue
(
'scope'
);
return
$this
->
getValue
(
'scope'
);
}
}
/**
* 是否是通过托管的小程序授权
*
* @return boolean 如果是托管 返回true
*/
public
function
isEntrusted
()
{
$ent
=
$this
->
getValue
(
'entrusted'
);
if
(
$ent
==
1
)
{
return
true
;
}
return
false
;
}
public
function
initUser
(
$token
)
public
function
initUser
(
$token
)
{
{
...
...
src/Order/Enum/OrderEnum.php
View file @
6b2d3b28
...
@@ -30,6 +30,8 @@ class OrderEnum
...
@@ -30,6 +30,8 @@ class OrderEnum
const
TYPE_LIMIT
=
2
;
//限时购订单
const
TYPE_LIMIT
=
2
;
//限时购订单
const
TYPE_COLLECTION
=
3
;
//拼团
const
TYPE_COLLECTION
=
3
;
//拼团
const
TYPE_CARD
=
4
;
//储值卡购买订单
const
TYPE_CARD
=
4
;
//储值卡购买订单
const
TYPE_TIMESCARD
=
5
;
//次卡
const
CHANGE_PRICE_FALSE
=
1
;
const
CHANGE_PRICE_FALSE
=
1
;
...
...
src/Order/Enum/PayOriginEnum.php
View file @
6b2d3b28
...
@@ -7,6 +7,6 @@ class PayOriginEnum
...
@@ -7,6 +7,6 @@ class PayOriginEnum
const
SELLER_MINI_PROGRAM
=
2
;
//卖家小程序
const
SELLER_MINI_PROGRAM
=
2
;
//卖家小程序
const
SELLER_MP
=
3
;
//卖家公众号
const
SELLER_MP
=
3
;
//卖家公众号
const
CARD
=
4
;
//储值卡支付
const
CARD
=
4
;
//储值卡支付
const
TIMESCARD
=
5
;
//次卡支付
}
}
\ 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