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
a65021c8
Commit
a65021c8
authored
Jan 02, 2019
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 1.0.48
- 添加卖家关系保存接口
parent
126c8dda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
UPGRADE.md
+2
-0
src/Seller/Lib/SellerInterface.php
+13
-9
No files found.
UPGRADE.md
View file @
a65021c8
# 1.0.48
-
添加卖家关系保存接口
# 1.0.47
-
商品服务接口修改
# 1.0.46
...
...
src/Seller/Lib/SellerInterface.php
View file @
a65021c8
...
...
@@ -12,13 +12,14 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferSave($referId, $unionId, $openId, $nickName, $headImgUrl)
* @method ResultInterface deferGet($id,
$fields=
['*'])
* @method ResultInterface deferGetByUnionId($unionId,
$fields=
['*'])
* @method ResultInterface deferGetByStoreId($storeId,
$fields=
['*'])
* @method ResultInterface deferUpdate($id,$data)
* @method ResultInterface deferGet($id,
$fields =
['*'])
* @method ResultInterface deferGetByUnionId($unionId,
$fields =
['*'])
* @method ResultInterface deferGetByStoreId($storeId,
$fields =
['*'])
* @method ResultInterface deferUpdate($id,
$data)
* @method ResultInterface deferCountDistributionNum($sellerId)
* @method ResultInterface deferGetByIds(array $ids, $fields = ['*'])
* @method ResultInterface deferGetAndUpdateOpenId($unionId,$openId)
* @method ResultInterface deferGetAndUpdateOpenId($unionId, $openId)
* @method ResultInterface deferSaveRelation($sellerId)
* Interface SellerInterface
* @package App\Lib
*/
...
...
@@ -44,7 +45,7 @@ interface SellerInterface
* @return mixed
* @author Administrator
*/
public
function
get
(
$id
,
$fields
=
[
'*'
]);
public
function
get
(
$id
,
$fields
=
[
'*'
]);
/**
* @param $unionId
...
...
@@ -52,7 +53,7 @@ interface SellerInterface
* @return mixed
* @author Administrator
*/
public
function
getByUnionId
(
$unionId
,
$fields
=
[
'*'
]);
public
function
getByUnionId
(
$unionId
,
$fields
=
[
'*'
]);
/**
* @param $condition
...
...
@@ -67,7 +68,7 @@ interface SellerInterface
* @return mixed
* @author Administrator
*/
public
function
update
(
$condition
,
$data
);
public
function
update
(
$condition
,
$data
);
/**
* @param $storeId
...
...
@@ -83,5 +84,7 @@ interface SellerInterface
public
function
getByIds
(
array
$ids
,
$fields
=
[
'*'
]);
public
function
getAndUpdateOpenId
(
$unionId
,
$openId
);
public
function
getAndUpdateOpenId
(
$unionId
,
$openId
);
public
function
saveRelation
(
$sellerId
);
}
\ 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