Commit 81335b40 by feixiang

Merge remote-tracking branch 'origin/master'

parents 41f8de30 0b4f0ec1
...@@ -15,9 +15,8 @@ use Swoft\Core\ResultInterface; ...@@ -15,9 +15,8 @@ use Swoft\Core\ResultInterface;
/** /**
* The interface of demo service * The interface of demo service
* *
* @method ResultInterface deferGetgoodsinfo( int $limit_id) * @method ResultInterface deferGetgoodsinfo(int $limit_id)
* @method ResultInterface deferGetBargainInfo( int $limit_id) * @method ResultInterface deferGetBargainInfo(int $limit_id)
*/ */
interface BargainInterface interface BargainInterface
{ {
...@@ -26,18 +25,17 @@ interface BargainInterface ...@@ -26,18 +25,17 @@ interface BargainInterface
* 获取砍价商品的 商品信息 * 获取砍价商品的 商品信息
* @param int $bargain_id * @param int $bargain_id
* @return { * @return {
"name" 名称 * "name" 名称
"image" 图片 * "image" 图片
"price" 价格 * "price" 价格
"activityName" 活动名称 * "activityName" 活动名称
* } * }
*/ */
public function getGoodsInfo( public function getGoodsInfo(
int $stordId,int $bargain_id int $stordId, int $bargain_id
); );
/** /**
* 通过商品id 获取是否 有砍价活动 * 通过商品id 获取是否 有砍价活动
* @param int $storeId * @param int $storeId
...@@ -46,9 +44,22 @@ interface BargainInterface ...@@ -46,9 +44,22 @@ interface BargainInterface
* *
*/ */
public function getBargainInfo( public function getBargainInfo(
int $storeId,int $goodsId int $storeId, int $goodsId
); );
/**
* 支付 状态 回馈接口
* @param string $storeId //
* @param int $bargainbranchId // 砍价活动id
* @param int $status // status :1 成功支付 2:未支付 (已经过期或者支付异常)
* @return mixed
*/
public function payStatus(
string $storeId,
int $bargainbranchId,
int $status,
int $orderId);
} }
......
...@@ -44,10 +44,10 @@ interface LimitTimeBuyInterface ...@@ -44,10 +44,10 @@ interface LimitTimeBuyInterface
* 获取限时购商品的 商品信息 * 获取限时购商品的 商品信息
* @param int $limit_id * @param int $limit_id
* @return { * @return {
"name" 名称 * "name" 名称
"image" 图片 * "image" 图片
"price" 价格 * "price" 价格
"activityName" 活动名称 * "activityName" 活动名称
* } * }
*/ */
public function getLimitGoods( public function getLimitGoods(
...@@ -66,4 +66,16 @@ interface LimitTimeBuyInterface ...@@ -66,4 +66,16 @@ interface LimitTimeBuyInterface
); );
// /**
// * 支付 状态 回馈接口
// * @param string $store_id
// * @param int $limit_id
// * @param int $status // status :1 成功支付 2:未支付 (已经过期或者支付异常)
// * @return mixed
// */
// public function paystatus(
// string $store_id,
// int $limit_id,
// int $status,
// int $orderId);
} }
\ 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