AI Assistant e246228102 1 6 months ago
..
BaseRequest.php 801812aac3 修复URS login4u认证凭证获取bug 7 months ago
UrsGetUserInfoRequest.php 28432a105f 增加URS Request和Login4u Handler详细日志输出 6 months ago
UrsGetUserLevelCountRequest.php d840dd1074 修复URS Request类继承和配置获取问题 6 months ago
UrsGetUserTeamRequest.php d840dd1074 修复URS Request类继承和配置获取问题 6 months ago
UrsLoginRequest.php e246228102 1 6 months ago
readme.md e246228102 1 6 months ago

readme.md

URS登录请求文档

登录请求

接口说明

使用手机号和密码进行URS登录认证,获取用户ID和用户密钥。

请求参数

mobile   - 手机号码
password - 登录密码

测试用户

账号: 18600648353
密码: a123123

返回数据

{
    "userId": 10002,
    "userKey": "$2y$10$vSeIMeziuwcio10eTvLRiuXwSFtSWmVrOqMbewgrbszFfckwmP1bw"
}

使用方式

use ThirdParty\Urs\Request\UrsLoginRequest;

$request = new UrsLoginRequest();
$result = $request->request([
    'mobile' => '18600648353',
    'password' => 'a123123'
]);