Commit d7c91170 by doszhang

dos

parent 88153f06
...@@ -19,9 +19,11 @@ class IndexController extends Controller ...@@ -19,9 +19,11 @@ class IndexController extends Controller
public function index() public function index()
{ {
if($_GET['pd']=="123412341234ffff") {
M('join_num')->where('id=1')->setInc('num'); M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->find(); $joinNum = M('join_num')->where('id=1')->find();
$this->assign('join_num',$joinNum['num']); $this->assign('join_num',$joinNum['num']);
$this->display(); $this->display();
} }
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment