登录
- 密码输入框未隐藏 已解决
查询
查询 barcode=CSH0000003
目前Android客户端使用的API是 API/VH.ashx?a=search&barcode=CSH0000003 该接口返回的是两条数据
客户端请求如下:
POST /API/VH.ashx HTTP/1.1
Cookie: requestId=116069883; eHerbarium=60E549CE4180F94EFA31ADFF135C6E7EBFEEAE9B73B84559F0093C199CA03E2FC5DBC3DB8CF16156CC392E827F322202655D6F3BCFE546900E0A805F72450E85389A064DD449A4A62A2762DFB2D3829EE06F9F4B7DE54B65688BC6534EA3D85655EB5223B658FFDA8BD53778CA1783CA; path=/; HttpOnly
X-Wap-Proxy-Cookie: none
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Moto G 2014 LTE Build/LMY48J)
Host: csh.ibiodiversity.net
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 84
Pragma: no-cache
Cache-Control: no-cache
sdk=22&os=android&a=search&page=1&pagesize=20&n=csh0000003&sdk=22&os=android&nt=wifi-
新建批次之后,显示的是首页,我觉得应该显示这个批次信息页面
这个是按照之前设计图做的,不对的话我们再找陈老师确认下原图如下
柜子
输入柜号,查不到信息
应该是没有156号柜子
请求参数如下
POST /API/VH.ashx HTTP/1.1
Cookie: requestId=1518800047; eHerbarium=60E549CE4180F94EFA31ADFF135C6E7EBFEEAE9B73B84559F0093C199CA03E2FC5DBC3DB8CF16156CC392E827F322202655D6F3BCFE546900E0A805F72450E85389A064DD449A4A62A2762DFB2D3829EE06F9F4B7DE54B65688BC6534EA3D85655EB5223B658FFDA8BD53778CA1783CA; path=/; HttpOnly
X-Wap-Proxy-Cookie: none
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Moto G 2014 LTE Build/LMY48J)
Host: csh.ibiodiversity.net
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 74
Pragma: no-cache
Cache-Control: no-cache
sdk=22&os=android&a=GetSavingInfoByCode&code=156&sdk=22&os=android&nt=wifi
返回结果如下
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/7.5
Set-Cookie: eHerbarium_Cookie=q34yobmxxrqhpr3ukicuregr; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Herbarium: CSH
Date: Sat, 17 Mar 2018 06:34:56 GMT
Content-Length: 46
Expires: 0
Proxy-Connection: Keep-alive
{"Unit":"Cabinet","Property":{},"Contains":[]}
-
输入抽屉号,可以查到抽屉内标本信息,但是没有总结共有多少份标本,只是显示系列标本,比如输入156-18;
这个是由于GetSavingInfoByCode&code=156-18接口Property字段返回为空
- 如果柜子号或者抽屉号输入错误,就会跳转到首页,应该留在输入柜号那个界面,并且提示”未查到相关消息“;
已修复
收藏
搜藏为前端页面,陈老师评估下怎么处理
崩溃
vivo x7plus Android 5.1.1版本测试,点击标本和柜子会有闪退,所有权限已经授权。已修复