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
a2bdc027
Commit
a2bdc027
authored
Nov 04, 2018
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a92c2a27
9fe1f07b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
5 deletions
+35
-5
src/Buyer/Lib/BuyerInterface.php
+4
-0
src/Common/Pool/Config/SellerPoolConfig.php
+2
-2
src/Goods/Lib/GoodsInterface.php
+3
-2
src/GroupBooking/Enum/GroupBookingEnum.php
+4
-0
src/Notice/Common/WxMiniNotice.php
+2
-1
src/Transfer/Enum/WxTransferEnum.php
+16
-0
src/Transfer/Lib/WithdrawInterface.php
+4
-0
No files found.
src/Buyer/Lib/BuyerInterface.php
View file @
a2bdc027
...
...
@@ -12,6 +12,7 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferGetUser(string $token)
* @method ResultInterface deferUpdateProfile(string $token, array $data)
* @method ResultInterface deferSelectUser(int $storeId, array $buyerIds, array $fields= ['*'])
* Interface BuyerInterface
* @package App\Lib
*/
...
...
@@ -77,4 +78,6 @@ interface BuyerInterface
}
*/
public
function
hasUser
(
$storeId
,
$unionid
);
public
function
selectUser
(
int
$storeId
,
array
$buyerIds
,
array
$fields
=
[
'*'
]);
}
\ No newline at end of file
src/Common/Pool/Config/SellerPoolConfig.php
View file @
a2bdc027
...
...
@@ -41,14 +41,14 @@ class SellerPoolConfig extends PoolProperties
*
* @var int
*/
protected
$maxActive
=
3
00
;
protected
$maxActive
=
4
00
;
/**
* the maximum number of wait connections
*
* @var int
*/
protected
$maxWait
=
4
00
;
protected
$maxWait
=
5
00
;
/**
* Maximum waiting time
...
...
src/Goods/Lib/GoodsInterface.php
View file @
a2bdc027
...
...
@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferDecSales($storeId, $goodsId)
* @method ResultInterface deferGetServiceByGoodsId($storeId, $goodsId)
* @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId)
* @method ResultInterface deferListByIds($ids, $storeId
, $order
)
* @method ResultInterface deferListByIds($ids, $storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -93,5 +93,5 @@ interface GoodsInterface
* @return mixed
* @author Administrator
*/
public
function
ListByIds
(
array
$ids
,
$storeId
,
$order
);
public
function
listByIds
(
array
$ids
,
$storeId
,
$order
=
[
'id'
,
'DESC'
]
);
}
\ No newline at end of file
src/GroupBooking/Enum/GroupBookingEnum.php
View file @
a2bdc027
...
...
@@ -17,4 +17,7 @@ class GroupBookingEnum
const
ONLINE
=
1
;
//上线
const
DOWNLINE
=
2
;
//下线
const
QUEUE_ORDER_KEY
=
'groupBooking:order'
;
const
QUEUE_LOCK_KEY
=
'groupBooking:lock:'
;
}
\ No newline at end of file
src/Notice/Common/WxMiniNotice.php
View file @
a2bdc027
...
...
@@ -20,9 +20,10 @@ class WxMiniNotice
* @param array $param
* @return string
*/
public
static
function
generatePage
(
string
$page
,
array
$param
)
public
static
function
generatePage
(
string
$page
,
array
$param
=
[]
)
{
$param
[
'origin'
]
=
$param
[
'origin'
]
??
'notice'
;
$param
[
'isShare'
]
=
1
;
$param
=
http_build_query
(
$param
);
...
...
src/Transfer/Enum/WxTransferEnum.php
0 → 100644
View file @
a2bdc027
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/11/3
* Time: 15:36
*/
namespace
Hdll\Services\Transfer\Enum
;
class
WxTransferEnum
{
const
FRONTEND
=
1
;
const
BACKEND
=
2
;
}
\ No newline at end of file
src/Transfer/Lib/WithdrawInterface.php
View file @
a2bdc027
...
...
@@ -13,10 +13,13 @@ use Swoft\Core\ResultInterface;
* 提现服务
*
* @method ResultInterface deferWithdraw($paySn, $openId, $realName, $amount, $type, $storeId, $withdrawId)
* @method ResultInterface deferStoreWithdraw($paySn, $openId, $realName, $amount, $type, $storeId, $withdrawId)
* Interface WithdrawInterface
* @package Hdll\Services\Transfor\Lib
*/
interface
WithdrawInterface
{
public
function
withdraw
(
$paySn
,
$openId
,
$realName
,
$amount
,
$type
,
$storeId
,
$withdrawId
);
public
function
storeWithdraw
(
$paySn
,
$openId
,
$realName
,
$amount
,
$type
,
$storeId
,
$withdrawId
);
}
\ 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