| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace App\Http\Controllers;
- use App\Events\UpdateSpecEvent;
- use App\Models\GoodsSpec;
- use App\Servers\AdminLogsServer;
- 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()
- {
- 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()
- {
- }
- }
|