{"repo":"Wscats/cms","free":true,"listed":false,"github":"https://github.com/Wscats/cms","clone":"git clone https://github.com/Wscats/cms.git","description":"News Management System Written In PHP - 从零开始用 PHP 实现内容管理系统后台","language":"HTML","stars":296,"topics":["php","weui","news","codeigniter","api","management-system"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"CMS API 登录界面: url根据服务器域名对应更改(例如本机url就是localhost) url /news/php/index.php/login main = url/news/php/index.php 登录接口 Port URL Method - - - 登录接口 main/login api/login POST Params Other - - username,password 账号:yaojialong,12345678 频道接口 Port URL Method - - - 频道接口 main/news api/get channel GET Params Other - - 无 自动登录接口 Port URL Method - - - 自动登录接口 main/login api/auto login POST Params Other - - username,token 根据频道显示对应新闻 Port URL Method - - - 根据频道显示对应新闻 main/news api/show detail by channel id GET Params Other - - page,channel id 例如:channel id:4 军事 6 推荐 7 热点 8 娱乐 新闻根据id显示详细内容的接口 Port URL Method - - - 新闻根据id显示详细内容的接口 main/news api/show detail GET Params Other - - id 注册用户的接口 Port URL Method - - - 注册用户的接口 main/login api/register POST Params Other - - params{username,password} 插入新闻的接口 Port URL Method - - - 插入新闻的接口 main/news api/insert news GET Params Other - - title,text 删除新闻的接口 Port URL Method - - - 删除新闻的接口 main/news api/delete news GET Params Other - - id","default_branch":null,"files":null,"tree":[],"storefront":"/r/Wscats","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Wscats/cms/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}