Module: WxExt::Api::Semantic
Overview
User api of weixin.
Instance Method Summary collapse
-
#semantic_search(access_token, semantic_hash) ⇒ Hash
Create semantic search via post.
Instance Method Details
#semantic_search(access_token, semantic_hash) ⇒ Hash
Create semantic search via post.
19 20 21 22 23 |
# File 'lib/wx_ext/api/semantic.rb', line 19 def semantic_search(access_token, semantic_hash) url = 'https://api.weixin.qq.com/semantic/semproxy/search'\ "?access_token=#{access_token}" Helper.http_post(url, semantic_hash.to_json) end |