Commit 1bbf582d by xmy

Merge remote-tracking branch 'origin/test' into test

parents 99e217d6 fbd5decd
......@@ -26,11 +26,12 @@ class AuthEnum
const AUTH_TYPE_SELLER = 200; //卖家授权
const AUTH_TYPE_EMPLOYEE = 201; //员工授权
const AUTH_TYPE_AGENT = 201; //店铺分销代理者授权
const AUTH_TYPE_E_AND_S = 203; //选择授权(用户自己选择进行员工授权还是卖家授权)
const AUTH_TYPE_BUYER = 204; //买家授权
const AUTH_TYPE_AGENT = 205; //店铺分销代理者授权
const AUTH_TYPE_AGENT_BUYER = 206 // 买家进入分销商店授权
......
......@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @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 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