module Haoyaoshi::Api::Drug
Public Instance Methods
get_drug_image(params)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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
Private Instance Methods
goods_interface_base_url()
click to toggle source
# File lib/haoyaoshi/api/drug.rb, line 23 def goods_interface_base_url "/goods-interface" end