Commit ebad7056 by feixiang

买家服务增加获取上级信息接口

parent ec4afe47
......@@ -13,6 +13,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetUser(string $token)
* @method ResultInterface deferUpdateProfile(string $token, array $data)
* @method ResultInterface deferSelectUser(int $storeId, array $buyerIds, array $fields= ['*'])
* @method ResultInterface deferGetRefereeInfo($storeId,$buyerId)
* Interface BuyerInterface
* @package App\Lib
*/
......@@ -80,4 +81,13 @@ interface BuyerInterface
public function hasUser($storeId,$unionid);
public function selectUser(int $storeId, array $buyerIds, array $fields= ['*']);
/**
* 根据买家id获取其上级信息
*
* @param $storeId
* @param $buyerId
* @return mixed
*/
public function getRefereeInfo($storeId,$buyerId);
}
\ 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