-
Notifications
You must be signed in to change notification settings - Fork 11
printer_info
New Future edited this page Oct 25, 2015
·
1 revision
打印店信息管理接口
- 获取打印店信息 GET /printer/info/:id
GET /printer/info/12
返回数据
{
"status": 1,
"info":{
"id": 2,
"name": "打印店名",
"sch_id": "1",
"account": "nkutest",
"address": null,
"email": null,
"phone": null,
"qq": null,
"wechat": null,
"profile": null,
"image": null,
"open": null,
"status": "1",
"price": {"价格信息"},
"other": null
}
}
- 修改打印店信息 PUT /printer/info/:id
PUT /printer/info/12
参数说明
-
name
店名 -
email
邮箱 -
address
地址 -
email
邮箱 -
phone
手机 -
qq
QQ -
wechat
微信号 -
profile
说明信息 -
open
营业时间 -
price.s
单面黑白价格 -
price.d
双面黑白价格 -
price.c_s
彩印单面价格 -
price.c_d
彩印双面价格 -
other
其他优惠信息
返回数据
{
"status": 1,
"info":{"修改的数据"}
}
- 验证auth
- 资源books【部分需登录】
- 文件file【必须已登录】
- 密码password【部分登录】
- 打印店printers【部分登录】
- 学校school【无需登录】
- 分享share【部分登录】+
- 标签tags【部分登录】
- 订单task【必须登录】+
- 用户user【必须已登录】