微调
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Http\Controllers;
|
||||
use Illuminate\Http\Request;
|
||||
use League\Flysystem\Sftp\SftpAdapter;
|
||||
use League\Flysystem\Filesystem;
|
||||
use XuanChen\UnionPay\Check;
|
||||
|
||||
class SkyxuController extends Controller
|
||||
{
|
||||
@@ -16,6 +17,14 @@ class SkyxuController extends Controller
|
||||
*/
|
||||
public function sftp()
|
||||
{
|
||||
$app = app('xuanchen.unionpay.check');
|
||||
$app->date = '20190722';
|
||||
$app->login();
|
||||
$app->hasFile();
|
||||
$app->start();
|
||||
dump($app->msg);
|
||||
|
||||
die();
|
||||
$path = '/home/wwwroot/pingan/upload/';
|
||||
$name = 'JYMX66007320190722.txt';
|
||||
$adapter = new SftpAdapter([
|
||||
|
||||
Reference in New Issue
Block a user