Commit 1e856873 by xmy

feat:获取用户by openid

parent c6db5ccb
...@@ -12,6 +12,8 @@ interface AgentInterface ...@@ -12,6 +12,8 @@ interface AgentInterface
{ {
public function getByUnionId(string $unionId, int $storeId); public function getByUnionId(string $unionId, int $storeId);
public function getByOpenId(string $openId, int $storeId);
/** /**
* 代理是否可用 * 代理是否可用
* @param int $storeId * @param int $storeId
...@@ -19,4 +21,5 @@ interface AgentInterface ...@@ -19,4 +21,5 @@ interface AgentInterface
* @return bool * @return bool
*/ */
public function usefulAgent(int $storeId, int $agentId); public function usefulAgent(int $storeId, int $agentId);
} }
\ 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