Commit 939f5328 by liwotianname

增加状态

parent 0b4f0ec1
...@@ -13,6 +13,12 @@ class BargainEnum ...@@ -13,6 +13,12 @@ class BargainEnum
//订单状态 //订单状态
const STATUS_NORMAL = 10; //待支付 const STATUS_NORMAL = 10; //待支付
//paystatus
const HAVE_PAY =2;
const PAY_EXCEPTION = 3;
} }
\ No newline at end of file
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
namespace Hdll\Services\Bargain\Lib; namespace Hdll\Services\Bargain\Lib;
use Hdll\Services\Bargain\Enum\BargainEnum;
use Swoft\Core\ResultInterface; use Swoft\Core\ResultInterface;
/** /**
...@@ -52,13 +53,13 @@ interface BargainInterface ...@@ -52,13 +53,13 @@ interface BargainInterface
* 支付 状态 回馈接口 * 支付 状态 回馈接口
* @param string $storeId // * @param string $storeId //
* @param int $bargainbranchId // 砍价活动id * @param int $bargainbranchId // 砍价活动id
* @param int $status // status :1 成功支付 2:未支付 (已经过期或者支付异常) * @param int $status // BargainEnum::HAVE_PAY 成功支付 BargainEnum::PAY_EXCEPTION:未支付 (已经过期或者支付异常)
* @return mixed * @return mixed
*/ */
public function payStatus( public function payStatus(
string $storeId, string $storeId,
int $bargainbranchId, int $bargainbranchId,
int $status, int $status , //
int $orderId); int $orderId);
} }
......
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