12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace app\index\controller;
- use app\common\controller\Frontend;
- use app\common\model\Mobile;
- use app\common\service\MobileComputer;
- use think\helper\Str;
- class Index extends Frontend
- {
- protected $noNeedLogin = '*';
- protected $noNeedRight = '*';
- protected $layout = '';
- public function index()
- {
- return $this->view->fetch();
- }
- public function payment($a=null){
- if(!$a){
- return '';
- }
- $file=RUNTIME_PATH.'/payment/'.$a;
- if(!file_exists($file)){
- return '';
- }
- return file_get_contents($file);
- }
- }
|