Index.php 868 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace app\index\controller;
  3. use app\common\controller\Frontend;
  4. use app\common\model\Mobile;
  5. use app\common\service\MobileComputer;
  6. use app\service\byte_dance\ByteDance;
  7. use app\service\byte_dance\ByteDancePay;
  8. use app\service\id\IdVerify;
  9. use PhpOffice\PhpSpreadsheet\IOFactory;
  10. use think\helper\Str;
  11. class Index extends Frontend
  12. {
  13. protected $noNeedLogin = '*';
  14. protected $noNeedRight = '*';
  15. protected $layout = '';
  16. public function index()
  17. {
  18. }
  19. public function payment($a=null){
  20. if(!$a){
  21. return '';
  22. }
  23. $file=RUNTIME_PATH.'/payment/'.$a;
  24. if(!file_exists($file)){
  25. return '';
  26. }
  27. return file_get_contents($file);
  28. }
  29. public function test(){
  30. //dd(MobileComputer::setMobile(input('no'))->filter());
  31. dd($this->request->root(true));
  32. }
  33. }