Commit 284dbb29 by xmy

goods接口

parent 9f2de0c7
...@@ -11,16 +11,16 @@ namespace Hdll\Services\Goods\Lib; ...@@ -11,16 +11,16 @@ namespace Hdll\Services\Goods\Lib;
use Swoft\Core\ResultInterface; use Swoft\Core\ResultInterface;
/** /**
* @method ResultInterface deferGet($storeId,$id) * @method ResultInterface deferGet($storeId, $id)
* Interface GoodsInterface * Interface GoodsInterface
* @package Hdll\Services\Goods\Lib * @package Hdll\Services\Goods\Lib
*/ */
interface GoodsInterface{ interface GoodsInterface
{
/** /**
* 获取商品 * 获取商品
* @param $storeId * @param $storeId
* 'gcId', 'asId', 'stock', 'name', 'image', 'price', 'state', 'body', 'originalPrice'
* @return [ * @return [
* 'gcId' 商品类ID * 'gcId' 商品类ID
* 'asId' 服务ID * 'asId' 服务ID
...@@ -37,6 +37,6 @@ interface GoodsInterface{ ...@@ -37,6 +37,6 @@ interface GoodsInterface{
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function get($storeId,$id); public function get($storeId, $id);
} }
\ 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