摘要: 一、生成验证码 1、commonController.class.php class CommonController extends Controller{ public function getVerify(){ $Verify = new \Think\Verify(); $Ve... 阅读全文
posted @ 2015-08-12 11:33 __Rain丶 阅读(350) 评论(0) 推荐(0) 编辑
摘要: //更新 更新中的话,一定要写那一个if判断 public function update(){ $model = M('link'); $upload = new \Think\Upload();// 实例化上传类 ... 阅读全文
posted @ 2015-08-12 02:21 __Rain丶 阅读(1577) 评论(0) 推荐(0) 编辑