30 lines
553 B
PHP
30 lines
553 B
PHP
<?php
|
|
/**
|
|
* This service file is part of item.
|
|
*
|
|
* @author ctexthuang
|
|
* @contact ctexthuang@qq.com
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Service\Api\User;
|
|
|
|
use App\Exception\ErrException;
|
|
use App\Service\Api\BaseService;
|
|
use App\Service\ServiceTrait\Api\GetUserInfoTrait;
|
|
use App\Service\ServiceTrait\Api\WxMiniTrait;
|
|
|
|
class BindPhoneByWxService extends BaseService
|
|
{
|
|
use GetUserInfoTrait,WxMiniTrait;
|
|
|
|
public function handle()
|
|
{
|
|
$this->checkBindPhone($this->userId);
|
|
|
|
|
|
|
|
return $this->return->success();
|
|
}
|
|
} |