Commit 5f07dfbf by xmy

feat:创建分销商

parent 8ca39c09
......@@ -2,6 +2,7 @@
namespace Hdll\Services\Buyer\Lib;
/**
* @method ResultInterface deferGetByUnionId(string $unionId, int $storeId)
* @method ResultInterface deferUsefulAgent(int $storeId, int $agentId)
......@@ -22,4 +23,16 @@ interface AgentInterface
*/
public function usefulAgent(int $storeId, int $agentId);
/**
* 创建分销商
* @param $buyerId
* @param $unionId
* @param $openId
* @param $storeId
* @param $nickname
* @param $headimgurl
* @return array|mixed
*/
public function getUserByOpenId($storeId, $openId);
}
\ 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