You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperf-gateway/app/JsonRpc/UserExternalServiceInterfac...

22 lines
405 B
PHTML

<?php
namespace App\JsonRpc;
interface UserExternalServiceInterface
{
/**
* 获取用户信息
*
* @param string $name
* @return array
*/
public function getUserInfo(string $name = 'test') : array;
/**
* 通过微信授权新建用户
*
2 years ago
* @param string $openid
* @return array
*/
2 years ago
public function wechatNewUser(string $openid) : array;
}