Commit d7c91170 by doszhang

dos

parent 88153f06
......@@ -19,9 +19,11 @@ class IndexController extends Controller
public function index()
{
M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->find();
$this->assign('join_num',$joinNum['num']);
$this->display();
if($_GET['pd']=="123412341234ffff") {
M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->find();
$this->assign('join_num',$joinNum['num']);
$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