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
9a303064
Commit
9a303064
authored
Dec 05, 2019
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/Common/Pool/Config/CommentsPoolConfig.php
parents
8f1b8f5e
0aaf4899
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
UPGRADE_2.x.md
+6
-0
src/Common/Pool/Config/CommentsPoolConfig.php
+3
-1
src/MemberCard/Lib/MemberCardInterface.php
+4
-3
No files found.
UPGRADE_2.x.md
View file @
9a303064
# 2.0.41
-
会员卡修复bug
# 2.0.40
-
添加评论服务的poolConfig
# 2.0.39
# 2.0.39
-
评论上线
-
评论上线
...
...
src/Common/Pool/Config/CommentsPoolConfig.php
View file @
9a303064
...
@@ -14,6 +14,8 @@ use Swoft\Bean\Annotation\Bean;
...
@@ -14,6 +14,8 @@ use Swoft\Bean\Annotation\Bean;
use
Swoft\Pool\PoolProperties
;
use
Swoft\Pool\PoolProperties
;
/**
/**
* the config of service craftsman
*
* @Bean()
* @Bean()
*/
*/
class
CommentsPoolConfig
extends
PoolProperties
class
CommentsPoolConfig
extends
PoolProperties
...
@@ -24,7 +26,7 @@ class CommentsPoolConfig extends PoolProperties
...
@@ -24,7 +26,7 @@ class CommentsPoolConfig extends PoolProperties
$this
->
uri
=
explode
(
','
,
env
(
'RPC_COMMENTS_URI'
,
'comments:8099'
));
$this
->
uri
=
explode
(
','
,
env
(
'RPC_COMMENTS_URI'
,
'comments:8099'
));
}
}
protected
$name
=
'co
upon
'
;
protected
$name
=
'co
mments
'
;
/**
/**
* Minimum active number of connections
* Minimum active number of connections
...
...
src/MemberCard/Lib/MemberCardInterface.php
View file @
9a303064
...
@@ -20,7 +20,7 @@ use Swoft\Core\ResultInterface;
...
@@ -20,7 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId
,int $escrow
)
*/
*/
/**
/**
* The interface of demo service
* The interface of demo service
...
@@ -71,7 +71,8 @@ interface MemberCardInterface
...
@@ -71,7 +71,8 @@ interface MemberCardInterface
*
*
* @param integer $storeId
* @param integer $storeId
* @param integer $userId
* @param integer $userId
* @return void
* @param integer $escrow
* @return bool
*/
*/
public
function
ifUserGetCard
(
int
$storeId
,
int
$userId
);
public
function
ifUserGetCard
(
int
$storeId
,
int
$userId
,
int
$escrow
);
}
}
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