mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 14:59:14 +08:00
修改文件注释
This commit is contained in:
parent
ac61d77dbe
commit
35cf9b7747
@ -5,13 +5,9 @@ namespace app\data\command;
|
|||||||
use app\data\model\DataUser;
|
use app\data\model\DataUser;
|
||||||
use app\data\service\UserUpgradeService;
|
use app\data\service\UserUpgradeService;
|
||||||
use think\admin\Command;
|
use think\admin\Command;
|
||||||
use think\admin\Exception;
|
|
||||||
use think\console\Input;
|
use think\console\Input;
|
||||||
use think\console\input\Argument;
|
use think\console\input\Argument;
|
||||||
use think\console\Output;
|
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 Input $input
|
||||||
* @param Output $output
|
* @param Output $output
|
||||||
* @return void
|
* @return void
|
||||||
* @throws Exception
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
protected function execute(Input $input, Output $output)
|
protected function execute(Input $input, Output $output)
|
||||||
{
|
{
|
||||||
|
@ -9,12 +9,6 @@ use think\admin\Exception;
|
|||||||
use think\admin\storage\LocalStorage;
|
use think\admin\storage\LocalStorage;
|
||||||
use think\console\Input;
|
use think\console\Input;
|
||||||
use think\console\Output;
|
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\Transfers;
|
||||||
use WePay\TransfersBank;
|
use WePay\TransfersBank;
|
||||||
|
|
||||||
@ -36,8 +30,7 @@ class UserTransfer extends Command
|
|||||||
* @param Input $input
|
* @param Input $input
|
||||||
* @param Output $output
|
* @param Output $output
|
||||||
* @return void
|
* @return void
|
||||||
* @throws Exception
|
* @throws \think\admin\Exception
|
||||||
* @throws DbException
|
|
||||||
*/
|
*/
|
||||||
protected function execute(Input $input, Output $output)
|
protected function execute(Input $input, Output $output)
|
||||||
{
|
{
|
||||||
@ -89,13 +82,13 @@ class UserTransfer extends Command
|
|||||||
* 尝试提现转账到银行卡
|
* 尝试提现转账到银行卡
|
||||||
* @param array $item
|
* @param array $item
|
||||||
* @return array [config, result]
|
* @return array [config, result]
|
||||||
* @throws Exception
|
* @throws \WeChat\Exceptions\InvalidDecryptException
|
||||||
* @throws InvalidDecryptException
|
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||||
* @throws InvalidResponseException
|
* @throws \WeChat\Exceptions\LocalCacheException
|
||||||
* @throws LocalCacheException
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function createTransferBank(array $item): array
|
private function createTransferBank(array $item): array
|
||||||
{
|
{
|
||||||
@ -114,10 +107,10 @@ class UserTransfer extends Command
|
|||||||
* 获取微信提现参数
|
* 获取微信提现参数
|
||||||
* @param int $uuid
|
* @param int $uuid
|
||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function getConfig(int $uuid): array
|
private function getConfig(int $uuid): array
|
||||||
{
|
{
|
||||||
@ -150,9 +143,9 @@ class UserTransfer extends Command
|
|||||||
* @param int $uuid
|
* @param int $uuid
|
||||||
* @param string $type
|
* @param string $type
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function getWechatInfo(int $uuid, string $type): ?array
|
private function getWechatInfo(int $uuid, string $type): ?array
|
||||||
{
|
{
|
||||||
@ -181,12 +174,12 @@ class UserTransfer extends Command
|
|||||||
* 尝试提现转账到微信钱包
|
* 尝试提现转账到微信钱包
|
||||||
* @param array $item
|
* @param array $item
|
||||||
* @return array [config, result]
|
* @return array [config, result]
|
||||||
* @throws Exception
|
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||||
* @throws InvalidResponseException
|
* @throws \WeChat\Exceptions\LocalCacheException
|
||||||
* @throws LocalCacheException
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function createTransferWallet(array $item): array
|
private function createTransferWallet(array $item): array
|
||||||
{
|
{
|
||||||
@ -204,12 +197,12 @@ class UserTransfer extends Command
|
|||||||
/**
|
/**
|
||||||
* 查询更新提现打款状态
|
* 查询更新提现打款状态
|
||||||
* @param array $item
|
* @param array $item
|
||||||
* @throws Exception
|
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||||
* @throws InvalidResponseException
|
* @throws \WeChat\Exceptions\LocalCacheException
|
||||||
* @throws LocalCacheException
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function queryTransferBank(array $item)
|
private function queryTransferBank(array $item)
|
||||||
{
|
{
|
||||||
@ -242,12 +235,12 @@ class UserTransfer extends Command
|
|||||||
/**
|
/**
|
||||||
* 查询更新提现打款状态
|
* 查询更新提现打款状态
|
||||||
* @param array $item
|
* @param array $item
|
||||||
* @throws Exception
|
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||||
* @throws InvalidResponseException
|
* @throws \WeChat\Exceptions\LocalCacheException
|
||||||
* @throws LocalCacheException
|
* @throws \think\admin\Exception
|
||||||
* @throws DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
private function queryTransferWallet(array $item)
|
private function queryTransferWallet(array $item)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user