CodeIgniter Ion auth自定义

neo*_*ama 0 php codeigniter

我尝试制作一款应用.我正在使用Ion Auth.

我的意思是我想利用这个库.

应用程序的当前结构:

  1. 帖子-ID(pk),Title,Desc,post_author,post_date
  2. 注释-Comment_id(pk),Comment_post_id,comment_author,comment_content
  3. 后端

假设我的名字是Lisa,Lisa提交了一个帖子.它使用当前登录并将其保存到Posts表.它应该保存ID或名称?我不知道如何将它与我的程序集成.

小智 7

您可能想在github上查看我的标准CI项目,以了解如何使用它,因为听起来您对此非常陌生.

http://github.com/benedmunds/CodeIgniter-Standard-Project

祝你的项目好运.