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
35c1db16
Commit
35c1db16
authored
Feb 24, 2020
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into test
parents
6b1823d4
356c95e1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
6 deletions
+31
-6
UPGRADE_2.x.md
+15
-0
src/Common/Config/CfgCenter.php
+1
-0
src/Craftsman/Lib/CraftsmanInterface.php
+9
-0
src/Store/Lib/StoreInterface.php
+6
-6
No files found.
UPGRADE_2.x.md
View file @
35c1db16
# 2.0.51
-
添加配置中心常量
# 2.0.50
-
修改cos-sdk-v5版本
# 2.0.49
-
oem部署上线
# 2.0.48
-
卖家oem
# 2.0.47
-
修改获取店铺信息的接口
# 2.0.46
# 2.0.46
-
修复发通知bug
-
修复发通知bug
...
...
src/Common/Config/CfgCenter.php
View file @
35c1db16
...
@@ -22,6 +22,7 @@ class CfgCenter
...
@@ -22,6 +22,7 @@ class CfgCenter
const
PAY_KUANYUAN
=
'pay_kuanyuan'
;
//宽元的支付平台配置
const
PAY_KUANYUAN
=
'pay_kuanyuan'
;
//宽元的支付平台配置
const
PAY_YUNMAI_ISP
=
'pay_yunmai_isp'
;
//云脉的支付服务商配置,用于托管子商户
const
PAY_YUNMAI_ISP
=
'pay_yunmai_isp'
;
//云脉的支付服务商配置,用于托管子商户
const
PAY_ZHIMEI
=
'pay_zhimei'
;
//致美的支付配置
const
PAY_ZHIMEI
=
'pay_zhimei'
;
//致美的支付配置
const
PAY_TRANSFER
=
'pay_transfer'
;
//提现打款专用的支付配置
const
SELLER_DISTRIBUTION
=
'seller_distribution'
;
//卖家分销配置
const
SELLER_DISTRIBUTION
=
'seller_distribution'
;
//卖家分销配置
const
MP_ZHIMEI
=
'mp_zhimei'
;
//致美的公众号配置
const
MP_ZHIMEI
=
'mp_zhimei'
;
//致美的公众号配置
const
MP_OEMADM
=
'mp_oemadm'
;
// OEM机构管理员公众号后台,使用云脉科技公众号
const
MP_OEMADM
=
'mp_oemadm'
;
// OEM机构管理员公众号后台,使用云脉科技公众号
...
...
src/Craftsman/Lib/CraftsmanInterface.php
View file @
35c1db16
...
@@ -23,6 +23,7 @@ use Swoft\Core\ResultInterface;
...
@@ -23,6 +23,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
* @method ResultInterface deferUpdateCmanByUnionId(string $unionId, int $storeId, array $data)
* @method ResultInterface deferUpdateCmanByUnionId(string $unionId, int $storeId, array $data)
* @method ResultInterface deferGetSellerCraftsman(int $storeId, array $fields = [])
*/
*/
interface
CraftsmanInterface
interface
CraftsmanInterface
{
{
...
@@ -78,6 +79,14 @@ interface CraftsmanInterface
...
@@ -78,6 +79,14 @@ interface CraftsmanInterface
*/
*/
public
function
getCraftsmenByUnionId
(
string
$unionId
,
int
$isSeller
=
0
);
public
function
getCraftsmenByUnionId
(
string
$unionId
,
int
$isSeller
=
0
);
/**
* 获取该店铺下的卖家身份的店员
*
* @param integer $storeId
* @param array $fields
* @return array
*/
public
function
getSellerCraftsman
(
int
$storeId
,
array
$fields
=
[]);
/**
/**
* 根据店铺Id和店员Id获取店员信息
* 根据店铺Id和店员Id获取店员信息
...
...
src/Store/Lib/StoreInterface.php
View file @
35c1db16
...
@@ -17,9 +17,9 @@ use Swoft\Core\ResultInterface;
...
@@ -17,9 +17,9 @@ use Swoft\Core\ResultInterface;
*
*
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferIsNormal(int $storeId)
* @method ResultInterface deferIsNormal(int $storeId)
* @method ResultInterface deferGetStoreByStoreId(int $storeId)
* @method ResultInterface deferGetStoreByStoreId(int $storeId
, array $fields=[]
)
* @method ResultInterface deferGetStoreByStoreName(string $storeName)
* @method ResultInterface deferGetStoreByStoreName(string $storeName
, array $fields=[]
)
* @method ResultInterface deferGetStoreBySellerId(int $sellerId)
* @method ResultInterface deferGetStoreBySellerId(int $sellerId
, array $fields=[]
)
* @method ResultInterface deferGetListBySellerIds(array $sellerIds, array $fields = [])
* @method ResultInterface deferGetListBySellerIds(array $sellerIds, array $fields = [])
* @method ResultInterface deferGetListByStoreIds(array $storeIds, array $fields = [])
* @method ResultInterface deferGetListByStoreIds(array $storeIds, array $fields = [])
* @method ResultInterface deferGetListByLastMonth()
* @method ResultInterface deferGetListByLastMonth()
...
@@ -54,7 +54,7 @@ interface StoreInterface
...
@@ -54,7 +54,7 @@ interface StoreInterface
* @param integer $storeId
* @param integer $storeId
* @return array 空数组表示没有查询到记录
* @return array 空数组表示没有查询到记录
*/
*/
public
function
getStoreByStoreId
(
int
$storeId
);
public
function
getStoreByStoreId
(
int
$storeId
,
array
$fields
=
[]
);
/**
/**
* 根据店铺名称获取店铺信息
* 根据店铺名称获取店铺信息
...
@@ -62,7 +62,7 @@ interface StoreInterface
...
@@ -62,7 +62,7 @@ interface StoreInterface
* @param string $storeName
* @param string $storeName
* @return array
* @return array
*/
*/
public
function
getStoreByStoreName
(
string
$storeName
);
public
function
getStoreByStoreName
(
string
$storeName
,
array
$fields
=
[]
);
/**
/**
* 根据卖家ID获取店铺信息
* 根据卖家ID获取店铺信息
...
@@ -70,7 +70,7 @@ interface StoreInterface
...
@@ -70,7 +70,7 @@ interface StoreInterface
* @param integer $sellerId
* @param integer $sellerId
* @return array
* @return array
*/
*/
public
function
getStoreBySellerId
(
int
$sellerId
);
public
function
getStoreBySellerId
(
int
$sellerId
,
array
$fields
=
[]
);
/**
/**
* 根据卖家ID列表获取店铺信息列表
* 根据卖家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