Commit 284dbb29 by xmy

goods接口

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