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
0b34340c
Commit
0b34340c
authored
Oct 17, 2019
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
739d5df3
62ce8f65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/Common/Entity/User.php
+5
-0
src/Order/Lib/OrderInterface.php
+5
-3
No files found.
src/Common/Entity/User.php
View file @
0b34340c
...
...
@@ -178,6 +178,11 @@ class User
return
$this
->
getValue
(
'referId'
);
}
public
function
getAgentId
()
{
return
intval
(
$this
->
getValue
(
'agentId'
));
}
public
function
getScope
()
{
return
$this
->
getValue
(
'scope'
);
...
...
src/Order/Lib/OrderInterface.php
View file @
0b34340c
...
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
* order servcie
*
* @method ResultInterface deferCreateOrder(int $buyerId,int $storeId,int $consigneeId,int $itemId,int $selectedNum,int $orderType,int $activityPrice,string $goodsName,string $goodsImage,string $activityName,int $goodsId,int $goodsPrice,string $message='',int $skuId=0,int $subStoreId=0,int $couponId=0);
* @method ResultInterface deferCreateOrder(int $buyerId,int $storeId,int $consigneeId,int $itemId,int $selectedNum,int $orderType,int $activityPrice,string $goodsName,string $goodsImage,string $activityName,int $goodsId,int $goodsPrice,string $message='',int $skuId=0,int $subStoreId=0,int $couponId=0
,int $agentId=0
);
* @method ResultInterface deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=true,bool $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByPid(int $storeId,int $pId, $ifSelf=false, $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByMainSn(int $storeId,string $orderSn, $ifSelf=false, $ifExtend=false)
...
...
@@ -54,6 +54,7 @@ interface OrderInterface
* @param integer $skuId
* @param integer $subStoreId
* @param integer $couponId
* @param integer $agentId 代理商Id
* @return mixed
*/
public
function
createOrder
(
...
...
@@ -71,8 +72,9 @@ interface OrderInterface
int
$goodsPrice
,
string
$message
=
''
,
int
$skuId
=
0
,
int
$subStoreId
=
0
,
int
$couponId
=
0
int
$subStoreId
=
0
,
int
$couponId
=
0
,
int
$agentId
=
0
);
/**
* 根据子订单ID查询订单详情
...
...
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