关联openid

master
秀才 11 months ago
parent 697fe31695
commit 94a6f0708f
  1. 6
      application/wap/controller/Login.php
  2. 4
      extend/basic/WapBasic.php

@ -178,9 +178,9 @@ class Login extends WapBasic
/**账号密码登录
* @param Request $request
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* @throws DataNotFoundException
* @throws ModelNotFoundException
* @throws DbException
*/
public function check(Request $request)
{

@ -223,12 +223,12 @@ class WapBasic extends Controller
/**
* 绑定微信
* @param Request $request
* @param User $account
* @param $account
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
*/
public function bindWeixin(Request $request, User $account): void
public function bindWeixin(Request $request, $account): void
{
[$ucode, $spid, $spread, $iv, $encryptedData, $type, $username, $currentAvatar] = UtilService::postMore([
['ucode', ''],

Loading…
Cancel
Save