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.
26 lines
506 B
PHP
26 lines
506 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\H5;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\ConfigService;
|
|
use Illuminate\Http\Request;
|
|
|
|
class UserController extends Controller
|
|
{
|
|
// 获取配置更新时间
|
|
public function info(Request $request)
|
|
{
|
|
$openid = $request->post('openid');
|
|
$info = [
|
|
'name' => '演示用户',
|
|
'sex' => '2',
|
|
'count' => 1,
|
|
'openid' => $openid,
|
|
];
|
|
return \Yz::Return(true, '获取成功', [
|
|
'info' => $info
|
|
]);
|
|
}
|
|
}
|