修改文件注释

This commit is contained in:
邹景立 2021-09-13 14:09:55 +08:00
parent ac61d77dbe
commit 35cf9b7747
2 changed files with 37 additions and 48 deletions

View File

@ -5,13 +5,9 @@ namespace app\data\command;
use app\data\model\DataUser;
use app\data\service\UserUpgradeService;
use think\admin\Command;
use think\admin\Exception;
use think\console\Input;
use think\console\input\Argument;
use think\console\Output;
use think\db\exception\DataNotFoundException;
use think\db\exception\DbException;
use think\db\exception\ModelNotFoundException;
/**
* 更新用户代理关系
@ -32,10 +28,10 @@ class UserAgent extends Command
* @param Input $input
* @param Output $output
* @return void
* @throws Exception
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
protected function execute(Input $input, Output $output)
{

View File

@ -9,12 +9,6 @@ use think\admin\Exception;
use think\admin\storage\LocalStorage;
use think\console\Input;
use think\console\Output;
use think\db\exception\DataNotFoundException;
use think\db\exception\DbException;
use think\db\exception\ModelNotFoundException;
use WeChat\Exceptions\InvalidDecryptException;
use WeChat\Exceptions\InvalidResponseException;
use WeChat\Exceptions\LocalCacheException;
use WePay\Transfers;
use WePay\TransfersBank;
@ -36,8 +30,7 @@ class UserTransfer extends Command
* @param Input $input
* @param Output $output
* @return void
* @throws Exception
* @throws DbException
* @throws \think\admin\Exception
*/
protected function execute(Input $input, Output $output)
{
@ -89,13 +82,13 @@ class UserTransfer extends Command
* 尝试提现转账到银行卡
* @param array $item
* @return array [config, result]
* @throws Exception
* @throws InvalidDecryptException
* @throws InvalidResponseException
* @throws LocalCacheException
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \WeChat\Exceptions\InvalidDecryptException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function createTransferBank(array $item): array
{
@ -114,10 +107,10 @@ class UserTransfer extends Command
* 获取微信提现参数
* @param int $uuid
* @return array
* @throws Exception
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function getConfig(int $uuid): array
{
@ -150,9 +143,9 @@ class UserTransfer extends Command
* @param int $uuid
* @param string $type
* @return mixed|null
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function getWechatInfo(int $uuid, string $type): ?array
{
@ -181,12 +174,12 @@ class UserTransfer extends Command
* 尝试提现转账到微信钱包
* @param array $item
* @return array [config, result]
* @throws Exception
* @throws InvalidResponseException
* @throws LocalCacheException
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function createTransferWallet(array $item): array
{
@ -204,12 +197,12 @@ class UserTransfer extends Command
/**
* 查询更新提现打款状态
* @param array $item
* @throws Exception
* @throws InvalidResponseException
* @throws LocalCacheException
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function queryTransferBank(array $item)
{
@ -242,12 +235,12 @@ class UserTransfer extends Command
/**
* 查询更新提现打款状态
* @param array $item
* @throws Exception
* @throws InvalidResponseException
* @throws LocalCacheException
* @throws DataNotFoundException
* @throws DbException
* @throws ModelNotFoundException
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
* @throws \think\admin\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
private function queryTransferWallet(array $item)
{