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.
22 lines
405 B
PHP
22 lines
405 B
PHP
<?php
|
|
|
|
namespace App\JsonRpc;
|
|
|
|
interface UserExternalServiceInterface
|
|
{
|
|
/**
|
|
* 获取用户信息
|
|
*
|
|
* @param string $name
|
|
* @return array
|
|
*/
|
|
public function getUserInfo(string $name = 'test') : array;
|
|
|
|
/**
|
|
* 通过微信授权新建用户
|
|
*
|
|
* @param string $openid
|
|
* @return array
|
|
*/
|
|
public function wechatNewUser(string $openid) : array;
|
|
} |