Commit 4ee5c038 by xmy

feat:运费计算

parent eb6cded5
<?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
<?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
......@@ -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
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