Commit a21d9299 by 王洁

Merge branch 'membercard'

parents 75968148 1ea293d6
......@@ -19,7 +19,8 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetWxMsg(array $msgArr)
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId)
*/
/**
* The interface of demo service
......@@ -64,4 +65,13 @@ interface MemberCardInterface
* @return array
*/
public function getOrderBySn(int $storeId,string $sn);
/**
* 获取用户领卡状态://0-没有卡 1-未领卡 2-领过了
*
* @param integer $storeId
* @param integer $userId
* @return void
*/
public function ifUserGetCard(int $storeId,int $userId);
}
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