[
  {
    "type": "post",
    "url": "address/create",
    "title": "收货地址-新增",
    "name": "address_create",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "province",
            "description": "<p>省</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "city",
            "description": "<p>市</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "district",
            "description": "<p>区</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "address",
            "description": "<p>具体地址</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "contact_name",
            "description": "<p>收货人姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "contact_phone",
            "description": "<p>收货人电话</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/address/create?token=c81e728d9d4c2f636f067f89cc14862c&province=北京市&city=市辖区&district=东城区&address=八大胡同甲1号&contact_name=冯逸超&contact%20phone=13810456667",
          "type": "curl"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/UserAddressController.php",
    "groupTitle": "address"
  },
  {
    "type": "post",
    "url": "address/delete",
    "title": "收货地址-删除",
    "name": "address_delete",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "address_id",
            "description": "<p>地址id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/address/create?token=c81e728d9d4c2f636f067f89cc14862c&address_id=1",
          "type": "curl"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/UserAddressController.php",
    "groupTitle": "address"
  },
  {
    "type": "post",
    "url": "address/update",
    "title": "收货地址-更新",
    "name": "address_update",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "address_id",
            "description": "<p>地址id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "province",
            "description": "<p>省  (非必传)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "city",
            "description": "<p>市   (非必传)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "district",
            "description": "<p>区   (非必传)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "address",
            "description": "<p>具体地址  (非必传)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "contact_name",
            "description": "<p>收货人姓名  (非必传)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "contact_phone",
            "description": "<p>收货人电话  (非必传)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/address/create?token=c81e728d9d4c2f636f067f89cc14862c&address_id=1",
          "type": "curl"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/UserAddressController.php",
    "groupTitle": "address"
  },
  {
    "type": "post",
    "url": "cart/delete",
    "title": "购物车-删除",
    "name": "cart_delete",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>产品id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/cart/delete?token=c81e728d9d4c2f636f067f89cc14862c&product_id=40",
          "type": "curl"
        }
      ]
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CartController.php",
    "groupTitle": "cart"
  },
  {
    "type": "post",
    "url": "cart/list",
    "title": "购物车-列表",
    "name": "cart_list",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>产品id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/cart/list?token=c81e728d9d4c2f636f067f89cc14862c",
          "type": "curl"
        }
      ]
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CartController.php",
    "groupTitle": "cart"
  },
  {
    "type": "post",
    "url": "cart/update",
    "title": "购物车-新增/数量变动",
    "name": "cart_update",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>产品id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/cart/update?token=c81e728d9d4c2f636f067f89cc14862c&product_id=1&amount=1",
          "type": "curl"
        }
      ]
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CartController.php",
    "groupTitle": "cart"
  },
  {
    "type": "post",
    "url": "category/list",
    "title": "商品分类（检测前需要选择疾病分类）",
    "name": "category_list",
    "group": "category",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "List[Map]",
            "optional": false,
            "field": "categorys",
            "description": "<p>商品分类</p>"
          }
        ],
        "categorys": [
          {
            "group": "categorys",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "categorys",
            "type": "int",
            "optional": false,
            "field": "name",
            "description": "<p>分类名称</p>"
          }
        ]
      }
    },
    "parameter": {
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/category/list",
          "type": "curl"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CategoryController.php",
    "groupTitle": "category"
  },
  {
    "type": "post",
    "url": "check/create",
    "title": "检测接口-上传用户试纸图片",
    "name": "check_create",
    "group": "check",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>(非必填) 试纸产品id</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "category_id",
            "description": "<p>症状id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "img_url",
            "description": "<p>阿里云图片地址</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/check/create?token=c81e728d9d4c2f636f067f89cc14862c&product_id=1&category_id=28&img_url=xxx",
          "type": "curl"
        }
      ]
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CheckController.php",
    "groupTitle": "check"
  },
  {
    "type": "post",
    "url": "check/list",
    "title": "检测结果",
    "name": "check_list",
    "group": "check",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "page",
            "description": "<p>页码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/check/list?token=c81e728d9d4c2f636f067f89cc14862c&page=1",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "List[Map]",
            "optional": false,
            "field": "data",
            "description": "<p>商品分页数据</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "int",
            "optional": false,
            "field": "category_id",
            "description": "<p>疾病分类id</p>"
          },
          {
            "group": "data",
            "type": "String",
            "optional": false,
            "field": "category_name",
            "description": "<p>疾病分类名称</p>"
          },
          {
            "group": "data",
            "type": "String",
            "optional": false,
            "field": "category_img_url",
            "description": "<p>疾病分类标识图</p>"
          },
          {
            "group": "data",
            "type": "String",
            "optional": false,
            "field": "result",
            "description": "<p>医生建议</p>"
          },
          {
            "group": "data",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>0:检测中 1:已完成</p>"
          }
        ]
      }
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/CheckController.php",
    "groupTitle": "check"
  },
  {
    "type": "post",
    "url": "order/create",
    "title": "订单提交",
    "name": "order_create",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>商品id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/product/detail?product_id=1",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>商品短标题</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "long_title",
            "description": "<p>商品长标题</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "description",
            "description": "<p>商品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "price",
            "description": "<p>商品售价</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "image",
            "description": "<p>商品主图</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/OrderController.php",
    "groupTitle": "order"
  },
  {
    "type": "post",
    "url": "product/list",
    "title": "商城-商品列表 【搜索/分类】",
    "name": "product_list",
    "group": "product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "page",
            "description": "<p>页码 default:1</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "keywords",
            "description": "<p>关键字 非必传【搜索时传入】</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "category_id",
            "description": "<p>分类id 非必传 【需要根据分类id获取商品列表时传入】</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/product/list",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "current_page",
            "description": "<p>当前页</p>"
          },
          {
            "group": "Success 200",
            "type": "List[Map]",
            "optional": false,
            "field": "data",
            "description": "<p>商品列表</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "total",
            "description": "<p>总页数</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "price",
            "description": "<p>价格</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "image",
            "description": "<p>图片地址 需要前端自行拼接阿里云前缀</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/ProductController.php",
    "groupTitle": "product"
  },
  {
    "type": "post",
    "url": "product/detail",
    "title": "商品详情",
    "name": "product_product",
    "group": "product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "product_id",
            "description": "<p>商品id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/product/detail?product_id=1",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>商品短标题</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "long_title",
            "description": "<p>商品长标题</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "description",
            "description": "<p>商品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "price",
            "description": "<p>商品售价</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "image",
            "description": "<p>商品主图</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/ProductController.php",
    "groupTitle": "product"
  },
  {
    "type": "post",
    "url": "shop/index",
    "title": "商城-首页",
    "name": "shop_index",
    "group": "shop",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "page",
            "description": "<p>页码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/shop/index?page=1",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "List[Map]",
            "optional": false,
            "field": "banners",
            "description": "<p>顶部轮播</p>"
          },
          {
            "group": "Success 200",
            "type": "List[Map]",
            "optional": false,
            "field": "categorys",
            "description": "<p>顶部轮播</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "products",
            "description": "<p>商品对象</p>"
          }
        ],
        "banners": [
          {
            "group": "banners",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": "<p>图片</p>"
          },
          {
            "group": "banners",
            "type": "String",
            "optional": false,
            "field": "url",
            "description": "<p>链接</p>"
          }
        ],
        "categorys": [
          {
            "group": "categorys",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "categorys",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>分类名称</p>"
          }
        ],
        "products": [
          {
            "group": "products",
            "type": "List[Map]",
            "optional": false,
            "field": "data",
            "description": "<p>商品分页数据</p>"
          },
          {
            "group": "products",
            "type": "int",
            "optional": false,
            "field": "current_page",
            "description": "<p>当前页</p>"
          },
          {
            "group": "products",
            "type": "int",
            "optional": false,
            "field": "last_page",
            "description": "<p>最后一页(总页数)</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          },
          {
            "group": "data",
            "type": "int",
            "optional": false,
            "field": "category_id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>商品标题</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "price",
            "description": "<p>价格</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "image",
            "description": "<p>图片地址 需要前端自行拼接阿里云前缀</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/ShopController.php",
    "groupTitle": "shop"
  },
  {
    "type": "post",
    "url": "suggestion/create",
    "title": "联系客服-新增内容",
    "name": "suggestion_create",
    "group": "suggestion",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "content",
            "description": "<p>用户输入的内容</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/suggestion/create?content=1111&token=8f14e45fceea167a5a36dedd4bea2543",
          "type": "curl"
        }
      ]
    },
    "permission": [
      {
        "name": "token 必传"
      }
    ],
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/SuggestionController.php",
    "groupTitle": "suggestion"
  },
  {
    "type": "post",
    "url": "system/sendSms",
    "title": "发送验证码",
    "name": "system_sendSms",
    "group": "system",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/system/sendSms?mobile=13810456667",
          "type": "curl"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/SystemController.php",
    "groupTitle": "system"
  },
  {
    "type": "post",
    "url": "user/fastLogin",
    "title": "手机号快捷登录",
    "name": "user_fastLogin",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example usage:",
          "content": "http://59.110.137.245:8080/api/user/fastLogin?mobile=13810456667&code=1234",
          "type": "curl"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>你懂的</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "zfwy/app/Http/Controllers/api/UserController.php",
    "groupTitle": "user"
  }
]
