文档
测试

开方列表查询

POST
http://ip:port/bcapp/home/squareList

接口描述

开方列表查询

请求参数

参数名
类型
描述
必填
doctorAccount
String
【必填】账户
必填
sameDay
int
【必填】1:查询今日开方,2:查询历史开方
必填
pageNum
int
【必填】当前页码,从0开始,默认每页只查询5条
必填

响应数据

{ "result": { "square_info": [ { "created_time": "2020-04-01 21:23:38", "prescription_name": "药方名称", "total_fee": 3000, "head_img": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKCh6m3PjORZoJONyeQtwjSYha3GibHmOot08dLY2GgiaNbjCyv89B2QyGltp2zdlGX8vS0sKqvlF8g/132", "nick_name": "三字经123", "sex": 2, "name": "就诊人姓名", "prescription_type": 1, "prescription_id": 17, "contact": "13574893243", "age": 22 } ] }, "success": true, "code": "00000", "message": "请求处理成功!" }

响应参数result说明

参数名
类型
描述
必填
square_info
JSONArray
开方信息
必填
created_time
String
开方时间
必填
name
String
就诊人姓名
必填
total_fee
int
处方总金额,单位分
必填
prescription_name
String
药方名称
必填
head_img
String
头像,直接访问
必填
nick_name
String
昵称
必填
sex
int
性别,1:男,2:女
必填
age
int
年龄,单位:岁
必填
prescription_type
int
处方类型,1:在线开方,2:拍照开方,3:开经方
必填
prescription_id
int
处方标唯一识,查询详情时使用
必填