Giter Site home page Giter Site logo

ci-news-cms's Introduction

CI-News-CMS

登录界面: 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

ci-news-cms's People

Contributors

wscats avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.