Module: Haoyaoshi::Api::Drug
- Included in:
- Client
- Defined in:
- lib/haoyaoshi/api/drug.rb
Instance Method Summary collapse
Instance Method Details
#get_drug_image(params) ⇒ Object
11 12 13 14 |
# File 'lib/haoyaoshi/api/drug.rb', line 11 def get_drug_image(params) create_url = "#{goods_interface_base_url}/syncGoodsImagesBatchService" http_drug_get(create_url,params,"syncGoodsImagesBatchService","open") end |
#get_drug_list(params) ⇒ Object
6 7 8 9 |
# File 'lib/haoyaoshi/api/drug.rb', line 6 def get_drug_list(params) create_url = "#{goods_interface_base_url}/syncGoodsInfoBatchService" http_drug_get(create_url,params,"syncGoodsInfoBatchService","open") end |
#get_drug_price(params) ⇒ Object
16 17 18 19 |
# File 'lib/haoyaoshi/api/drug.rb', line 16 def get_drug_price(params) create_url = "#{goods_interface_base_url}/queryUpdateInfoBatchService" http_drug_get(create_url,params,"queryUpdateInfoBatchService","open") end |