患教接口说明

1.医生详情 (/wise/doctor/detail)

request

暂无

response

{
    "status": 0, 
    "statusInfo": "OK", 
    "data": {
        "avatar": "http://hiphotos.baidu.com/dpp/pic/item/63d9f2d3572c11df2c81175f652762d0f703c27e.jpg", 
        "name": "白晓东",
        "medTitle": "主任医师", 
        "hospitalName": "武警总医院", 
        "departName": "烧伤整形科", 
        "position": "北京市海淀区永定路69号",
        "isOrdered":1 ,
        "link":"http://yi.baidu.com/"
    }   
}

2.添加医生(/wise/add/doctor)

request

{
    "name":"sss",
    "identification":22222,
    "phone":13507863444,
    "captcha":1234      //如果有则传,否则不传
}

response

{
    "status": 0, 
    "statusInfo": "OK", 
    "data": {
        "text":"添加成功"  //"已添加过该医生"
    }   
}

3.文章详情(/wise/article/detail)

request

暂无

response

{
    "status": 0, 
    "statusInfo": "OK", 
    "data": {
        "title":"文章标题",
        "time":"2014-11-5 12:00",
        "author":"刘一手",
        "content":"文章内容"
    }   
}

你可能感兴趣的:(患教接口说明)