1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace App\Http\Controllers;
- use App\Servers\AdminLogsServer;
- use App\Servers\Icon\Address;
- use App\Servers\Icon\BanRPC;
- use App\Servers\IndentNumServer;
- use App\Servers\PassServer;
- use App\Servers\RedisDataServer;
- class HomeController extends FrontController
- {
- public function __construct()
- {
- parent::__construct();
- }
- /**
- * Show the application dashboard.
- *
- * @return \Illuminate\Http\Response
- */
- public function index()
- {
- $data=Address::generate();
- dd($data);
- $ret=BanRPC::creatServer()->getTransactionReceipt('0xc47a91e730e44c1beb80182f69c117b74dfdf9e6b2fdbb81def8bc704cd0cb5b');
- dd($ret);
- dd(1212);
- // $user_info = PassServer::creatServer(123456)->creatPassword();
- // dd($user_info);
- // RedisDataServer::creatServer()->delData('ac_num_1');
- $sn_str = IndentNumServer::creatServer()->getIndentNum(1);
- AdminLogsServer::write('获取编号----' . $sn_str);
- // IndentNumServer::creatServer()->verifyNum(1);
- // file_put_contents('code_num.txt','获取编号----'.$sn_str.PHP_EOL,FILE_APPEND);
- // dd($sn_str);
- // RedisDataServer::creatServer()->setData('3423',60);
- // $bun= RedisDataServer::creatServer()->getData('3423');
- // event(new NumEvent(1));
- // dd($bun);
- }
- function indexTwo()
- {
- }
- }
|