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
4ee5c038
Commit
4ee5c038
authored
Nov 07, 2019
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:运费计算
parent
eb6cded5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
+42
-0
src/Comments/Enum/StarEnum.php
+19
-0
src/Comments/Lib/CommentsInterface.php
+19
-0
src/Logistics/Lib/LogisticsInterface.php
+4
-0
No files found.
src/Comments/Enum/StarEnum.php
0 → 100644
View file @
4ee5c038
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/7/26
* Time: 16:00
*/
namespace
Hdll\Services\Comments\Enum
;
class
StarEnum
{
const
STAR
=
1
;
//点赞
const
CANCEL
=
2
;
//取消点赞
const
HAS_START_KEY
=
'comments:hasStar'
;
const
STAR_KEY
=
'comments:star'
;
}
\ No newline at end of file
src/Comments/Lib/CommentsInterface.php
0 → 100644
View file @
4ee5c038
<?php
namespace
Hdll\Services\Comments\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* @method ResultInterface deferGetNum(array $itemIds)
* Class CommentsInterface
* @package Hdll\Services\CommentsInterface\Lib
*/
interface
CommentsInterface
{
public
function
getNum
(
array
$itemIds
);
}
\ No newline at end of file
src/Logistics/Lib/LogisticsInterface.php
View file @
4ee5c038
...
...
@@ -6,6 +6,7 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferOnPath(array $param)
* @method ResultInterface deferHandleFreight($storeId, array $receiver, array $goodsIds)
* Class LotteryInterface
* @package Hdll\Services\Logistics\Lib
*/
...
...
@@ -14,4 +15,6 @@ interface LogisticsInterface
public
function
onPath
(
array
$param
);
public
function
handleFreight
(
$storeId
,
array
$receiver
,
array
$goodsIds
);
}
\ 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