Commit a2bdc027 by xmy

Merge remote-tracking branch 'origin/master'

parents a92c2a27 9fe1f07b
......@@ -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
......@@ -41,14 +41,14 @@ class SellerPoolConfig extends PoolProperties
*
* @var int
*/
protected $maxActive = 300;
protected $maxActive = 400;
/**
* the maximum number of wait connections
*
* @var int
*/
protected $maxWait = 400;
protected $maxWait = 500;
/**
* Maximum waiting time
......
......@@ -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
......@@ -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
......@@ -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);
......
<?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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment