点餐收银端

石化点餐项目


友好单位列表

[TOC]

简要描述
  • 友好单位列表接口
请求URL
  • https://food.taihuyun.vip/api/foodcash.base/friendCompanyList?applet_id=1&shop_id=1&token=9ee02f4eca649e8c2ee711ebe8f2957a&key_words
请求方式
  • GET
参数
参数名 必选 类型 说明
applet_id string 应用程序ID
shop_id string 门店ID
token string 用户身份验证的令牌
page int 门店ID
key_words string 关键字
返回示例
{
  "code": 1,
  "msg": "success",
  "data": {
    "total": 3,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "id": 1,
        "company_name": "中科倚天",
        "company_contacter": "老张",
        "company_phone": "18812345678",
        "remark": "战略合作关系",
        "is_del": 0,
        "create_time": "2023-01-17 10:51:57",
        "update_time": "2023-01-18 11:28:20",
        "last_pay": "46.00",
        "pay_status": "未结清"
      },
      {
        "id": 3,
        "company_name": "科技",
        "company_contacter": "老李",
        "company_phone": "17712345678",
        "remark": "",
        "is_del": 0,
        "create_time": "2023-01-17 11:07:54",
        "update_time": "2023-01-18 16:08:32",
        "last_pay": "54.00",
        "pay_status": "已结清"
      },
      {
        "id": 4,
        "company_name": "乌鲁木齐科技",
        "company_contacter": "老赵",
        "company_phone": "16612345678",
        "remark": "",
        "is_del": 0,
        "create_time": "2023-01-17 11:18:23",
        "update_time": "2023-01-17 11:18:23",
        "last_pay": 0,
        "pay_status": "已结清"
      }
    ]
  }
}
返回参数说明
  • 返回状态代码: 200
参数名 类型 说明
data.company_name string 单位名称
data.company_contacter string 姓名
data.company_phone string 手机号
data.remark string 备注信息
data.last_pay string 消费金额
data.pay_status string 支付状态
total int 总页数
per_page int 一页有几条
current_page int 当前页码
备注
  • 更多返回错误代码请看基本参数中的参数说明

页面列表

ITEM_HTML