hehexu

博客园 首页 新随笔 联系 订阅 管理

 1.  redirect(U('Index/index'));     //redirect函数跳转要使用U方法,不适用U方法会跳转地址出错。

2.  $this->success('新增成功', U('User/list'));

3.

 3.$pri=I('post.pri_id');   //  I函数来接受post过来的name为pri_id 的元素。

4.

5.

 

6.

 

7.

 

8.

9.

 

 

 

posted on 2017-11-13 11:02  hehexu  阅读(122)  评论(0编辑  收藏  举报