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
4d66dcb1
Commit
4d66dcb1
authored
Nov 13, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ebad7056
dc861a1b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
3 deletions
+39
-3
UPGRADE.md
+3
-0
src/AccountBook/Lib/AccountInterface.php
+12
-2
src/CustomerProfiles/Lib/ProfileInterface.php
+3
-0
src/GroupBooking/Enum/GroupBookingEnum.php
+3
-0
src/Seller/Lib/SellerFundInterface.php
+12
-0
src/Store/Lib/VisitorCountInterface.php
+3
-1
src/Vip/Enum/VipEnum.php
+3
-0
No files found.
UPGRADE.md
View file @
4d66dcb1
# 1.0.9
-
添加访客统计的RPC接口
# 1.0.8
-
分表逻辑判断处理
# 1.0.7
...
...
src/AccountBook/Lib/AccountInterface.php
View file @
4d66dcb1
...
...
@@ -22,7 +22,7 @@ use Swoft\Core\ResultInterface;
interface
AccountInterface
{
/**
* 流水增加
* 流水增加
收入
* @param $storeId
* @param $money
* @param $ordirId
...
...
@@ -30,8 +30,18 @@ interface AccountInterface
*/
public
function
Income
(
$storeId
,
$money
,
$ordirId
);
/**
* 流水收入退款
* @param $storeId
* @param $money
* @param $orderId
* @return mixed
*/
public
function
IncomeRefund
(
$storeId
,
$money
,
$orderId
);
/**
* 流水
减少
* 流水
支出
* @param $storeId
* @param $money
* @param $ordirId
...
...
src/CustomerProfiles/Lib/ProfileInterface.php
View file @
4d66dcb1
...
...
@@ -32,4 +32,6 @@ interface ProfileInterface
*/
public
function
AddOrder
(
$storeId
,
$orderId
,
$goodsId
,
$goodsName
,
$orderPrice
,
$orderType
,
$orderTime
,
$consigneeName
,
$consigneePhone
,
$buyerId
,
$activityName
);
}
\ No newline at end of file
src/GroupBooking/Enum/GroupBookingEnum.php
View file @
4d66dcb1
...
...
@@ -20,4 +20,6 @@ class GroupBookingEnum
const
QUEUE_ORDER_KEY
=
'groupBooking:order'
;
const
QUEUE_LOCK_KEY
=
'groupBooking:lock:'
;
const
QUEUE_LISTEN
=
'groupBookingListener'
;
}
\ No newline at end of file
src/Seller/Lib/SellerFundInterface.php
View file @
4d66dcb1
...
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAddExpectFund($seller, $money)
* @method ResultInterface deferReduceExpectFund($seller, $money)
* @method ResultInterface deferAddFund($seller, $money)
* @method ResultInterface deferAddActualCommissionFund($sellerId, $money)
* Interface SellerInterface
* @package App\Lib
*/
...
...
@@ -103,4 +104,14 @@ interface SellerFundInterface
* @author Administrator
*/
public
function
addFund
(
$sellerId
,
$balanceFund
,
$commissionFund
);
/**
* 增加实付佣金
* @param $sellerId
* @param $money
* @return mixed
* @author Administrator
*/
public
function
addActualCommissionFund
(
$sellerId
,
$money
);
}
\ No newline at end of file
src/Store/Lib/VisitorCountInterface.php
View file @
4d66dcb1
...
...
@@ -26,7 +26,9 @@ interface VisitorCountInterface
* @param int $storeId
* @param int $visitorId
* @param array $data 此参数可选,不传表示只更新访问时间
* @return int 更新成功的条数
* nickname 昵称
* headImgUrl 头像
* @return bool
*/
public
function
updateVisitorData
(
int
$storeId
,
int
$visitorId
,
array
$data
=
[]);
...
...
src/Vip/Enum/VipEnum.php
View file @
4d66dcb1
...
...
@@ -18,4 +18,6 @@ class VipEnum{
const
STATUS_UNPAID
=
10
;
//未支付
const
STATUS_PAID
=
20
;
//已支付
const
VIP_QUEUE_KEY
=
'vip:queue'
;
}
\ 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