Giter Site home page Giter Site logo

api's Introduction

api

简单的PHP api接口开发

常用方向:
1.日常手机APP
2.手机WEB端
3.第三方提供数据

本着方便开发,所以就试着写了这样一套,很简单功能会慢慢的完善,请大家关注更新日志。

更新日志:

v1.0
使用时,请修改.htaccess RewriteBase /haoapi/ 对应的路径 如果是根目录,直接写 /

v1.1
更新自动引入c层 m层 e层文件
c层Base基类添加获取用户真实IP方法
e层添加 CURL操作类、随机字符串操作类

v1.2
更新BaseController 添加获取Aes加密串的值的方法
修改Aes加密方法
添加ImgStreamExt图片流上传
添加TestController 提供两个方法
    createAes 创建Aes加密url访问
    testAes 解析Aes加密串
Aes加密请求方式 http://xxx.com/配置的访问名称/要访问的具体方法/encryp/加密串
    encryp 可修改 但必须保持生成与请求是一样的结构
    加密串,见createAes方法



Author:Mr.Hao
Email: [email protected]

api's People

Contributors

hsw409328 avatar

Watchers

 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.