init
This commit is contained in:
27
app/mobile/controller/Country.php
Executable file
27
app/mobile/controller/Country.php
Executable file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2018-12-10
|
||||
* Time: 13:48
|
||||
*/
|
||||
|
||||
namespace app\mobile\controller;
|
||||
|
||||
|
||||
use think\Controller;
|
||||
use think\Session;
|
||||
|
||||
class Country extends Controller
|
||||
{
|
||||
public function index(){
|
||||
// session_start();
|
||||
$ct= session('cit',$_GET['cit']);
|
||||
$ct = session('cit');
|
||||
if($ct){
|
||||
$this->success('修改成功');
|
||||
}else{
|
||||
$this->error('修改国家失败');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user