首页 > 药品监管码查询接口的加密算法

药品监管码查询接口的加密算法

寻找一下药品监管码的加密算法

阿里健康 (ios app)里面有个查询药品监管码的功能,目前通过抓包已经看到接口地址,但是里面对于药品监管码有个加密方式,不知道怎么才能获取到?

接口地址
http://42.120.61.167:80/ErxCloud/restservices/DrugInfo/searchByDrugCod...

POST数据
requestdata:f5032f376928cede8c8f29d2235bd2d21390861a48086a4bc1bcdc50b0b3b258

得到数据

xml<?xml version="1.0" encoding="UTF-8" ?>
<info>
    <retcode>0</retcode>
    <code>81309220337984163910</code>
    <thumb_url></thumb_url>
    <title>健胃消食片</title>
    <manufacturer>江中药业股份有限公司</manufacturer>
    <production_batch>12040040</production_batch>
    <production_date>2012年04月11日</production_date>
    <expiry_date>2014年03月31日</expiry_date>
    <prepn_type>片剂</prepn_type>
    <specifications>每片重0.8克;每片重0.8克(无糖型薄膜衣片)</specifications>
    <prepn_unit>片</prepn_unit>
    <pkg_unit>盒</pkg_unit>
    <pkg_spec>盒32片</pkg_spec>
    <category>普通药品</category>
    <license_number>国药准字Z20013220</license_number>
    <issue_expiry>2015年08月23日</issue_expiry>
    <status>该药品已流向“青岛百洋健康药房连锁有限公司”</status>
    <expired>true</expired>
    <query_time>146</query_time>
    <first_query>2012年09月02日  15时27分19秒</first_query>
    <last_ent>青岛百洋健康药房连锁有限公司</last_ent>
    <is_sale>false</is_sale>
    <sale_time></sale_time>
    <sale_ent></sale_ent>
    <flow></flow>
    <last_time>2012年07月12日</last_time>
</info>

POST的数据f5032f376928cede8c8f29d2235bd2d21390861a48086a4bc1bcdc50b0b3b258应该是81309220337984163910通过某种加密计算得到的,不知道是否有人可以破解出来?或者APP有没有什么逆向的方法,可以找到加密算法。


找了一个同类软件,自己把接口封装了下,凑合用吧,参数code为监管码。

http://ron.happyruru.com/drug/?code=81369140394216850180


解决了吗,老大


下个安卓版的,试试strace for android吧
别抱太大希望

【热门文章】
【热门文章】