chrisgv / manager-io-api

Manager.IO PHP API

v1.0 2018-03-09 09:37 UTC

This package is not auto-updated.

Last update: 2024-09-29 05:14:52 UTC


README

使用Composer安装

composer require chrisgv/manager-io-api

业务(主机,用户名,密码,业务ID)

new Business(http://yourHost/api/,Username,Password,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)

类方法

all(Category ID) : 返回分类中实体的所有ID。

add(Category ID, Data Array) : 添加数据,然后返回插入实体的ID。

edit(Entity ID, Data Array) : 更新记录。

delete(Entity ID) : 删除记录。

last() : 返回最后插入实体的ID。