Commit 14c2340f by xmy

Merge remote-tracking branch 'origin/master'

parents aa041c07 a1813c8a
<?php
/**
* Created by PhpStorm.
* User: lwt
* Date: 2018/7/10
* Time: 13:15
*/
namespace Hdll\Services\Bargain\Enum;
class BargainEnum
{
//订单状态
const STATUS_NORMAL = 10; //待支付
}
\ No newline at end of file
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Hdll\Services\Bargain\Lib;
use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @method ResultInterface deferGetgoodsinfo( int $limit_id)
*/
interface BargainInterface
{
/**
* 获取砍价商品的 商品信息
* @param int $limit_id
* @return mixed
*/
public function getgoodsinfo(
int $limit_id
);
}
\ No newline at end of file
...@@ -40,4 +40,15 @@ interface LimitTimeBuyInterface ...@@ -40,4 +40,15 @@ interface LimitTimeBuyInterface
int $order_type, int $order_type,
int $goods_id, int $goods_id,
string $reservation_time = ''); string $reservation_time = '');
/**
* 获取限时购商品的 商品信息
* @param int $limit_id
* @return mixed
*/
public function getLimitgoods(
int $limit_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