Commit 683be2f2 authored by 杨培's avatar 杨培

添加通过wxhuid同步获取用户的服务

parent dc221dc7
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 22/11/2017
* Time: 4:12 PM
*/
namespace internalApi\bbs;
use internalApi\base\Client;
class Test extends Client
{
public static function index($test){
return self::call('test.index',compact('test'));
}
}
\ No newline at end of file
......@@ -51,6 +51,17 @@ class Member extends Client
return self::call('member.getSyncByUid', compact('uid'));
}
/**
* 根据维修汇UID同步用户
*
* @param string $wxhuid
* @return array|false
*/
public static function getSyncByWxhuid($wxhuid)
{
return self::call('member.getSyncByWxhuid', compact('wxhuid'));
}
/**
* 注册一个用户并获得用户信息
*
......
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