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
019a4335
Commit
019a4335
authored
Oct 15, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0e26ad3c
77b2ea3b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/Reservation/Enum/ReservEnum.php
+3
-1
src/Seller/Lib/SellerInterface.php
+3
-2
No files found.
src/Reservation/Enum/ReservEnum.php
View file @
019a4335
...
@@ -10,6 +10,7 @@ namespace Hdll\Services\Reservation\Enum;
...
@@ -10,6 +10,7 @@ namespace Hdll\Services\Reservation\Enum;
class
ReservEnum
class
ReservEnum
{
{
const
TYPE_ORDER
=
1
;
// 表示从订单创建产生的预约
const
TYPE_ORDER
=
1
;
// 表示从订单创建产生的预约
const
TYPE_SELLER
=
2
;
// 表示卖家自己
后台
添加的预约
const
TYPE_SELLER
=
2
;
// 表示卖家自己
手动
添加的预约
const
TYPE_AFTER
=
3
;
// 表示订购服务的后续服务的预约
const
TYPE_AFTER
=
3
;
// 表示订购服务的后续服务的预约
const
TYPE_BUYER
=
4
;
// 表示买家自己手动添加的预约
}
}
\ No newline at end of file
src/Seller/Lib/SellerInterface.php
View file @
019a4335
...
@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
...
@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetByUnionId($unionId,$fields=['*'])
* @method ResultInterface deferGetByUnionId($unionId,$fields=['*'])
* @method ResultInterface deferGetByStoreId($storeId,$fields=['*'])
* @method ResultInterface deferGetByStoreId($storeId,$fields=['*'])
* @method ResultInterface deferUpdate($id,$data)
* @method ResultInterface deferUpdate($id,$data)
* @method ResultInterface deferC
untRelationNum($sellerId, $condition, $column = ['id']
)
* @method ResultInterface deferC
ountDistributionNum($sellerId
)
* Interface SellerInterface
* Interface SellerInterface
* @package App\Lib
* @package App\Lib
*/
*/
...
@@ -76,5 +76,5 @@ interface SellerInterface
...
@@ -76,5 +76,5 @@ interface SellerInterface
public
function
getByStoreId
(
$storeId
,
$fields
=
[
'*'
]);
public
function
getByStoreId
(
$storeId
,
$fields
=
[
'*'
]);
public
function
count
RelationNum
(
$sellerId
,
$condition
,
$column
=
[
'id'
]
);
public
function
count
DistributionNum
(
$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