LaneWeChat

PHP微信开发框架,高效开发微信公众号应用。简洁而又轻量

GitHub下载 查看手册

智能接口

Visits: 11858 Date: 2014-11-05 15:01:23 Power By 李轩Lane

    

1、类简介:智能接口。


        2、使用命名空间:use LaneWeChat\Core\IntelligentInterface;


        3、语义理解:比如输入文本串,如“查一下明天从北京到上海的南航机票”就可以收到关于这个问题的答案。

            单类别意图比较明确,识别的覆盖率比较大,所以如果只要使用特定某个类别,建议将category只设置为该类别。

            IntelligentInterface::semanticSemproxy($query, $category, $openId, $latitude='', $longitude='', $region='', $city='')

            $query 输入文本串,如“查一下明天从北京到上海的南航机票"

            $category String 需要使用的服务类型,如“flight,hotel”,多个用“,”隔开,不能为空。详见《接口协议文档》

            $latitude Float 纬度坐标,与经度同时传入;与城市二选一传入。详见《接口协议文档》

            $longitude Float 经度坐标,与纬度同时传入;与城市二选一传入。详见《接口协议文档》

            $region String 区域名称,在城市存在的情况下可省;与经纬度二选一传入。详见《接口协议文档》

            $city 城市名称,如“北京”,与经纬度二选一传入

            $openId

            《接口协议文档》:http://mp.weixin.qq.com/wiki/images/1/1f/微信语义理解协议文档.zip


Reply: JamFuero On 2020-03-07 16:45:45

Misoprostol Generique Canada http://apcialisle.com/# - cialis 5 mg best price usa Tadalafil 40 Online Kaufen <a href=http://apcialisle.com/#>Cialis</a> Keflex Zanax

回复

Reply: JamFuero On 2020-03-14 21:10:48

Sexual Dysfunction http://apcialisle.com/# - Cialis Buy Clomid And Pay With Pay Pal <a href=http://apcialisle.com/#>Cialis</a> Cialis Soft Tabs Review

回复

Reply: JamFuero On 2020-03-21 19:50:11

Comprar Cialis Envio Rapido https://apcialisle.com/# - buy cialis online usa Viagra Online Bestellen Ausland <a href=https://apcialisle.com/#>Cialis</a> Viagra Avec Dapoxetine Avis

回复

Reply: Vastherie On 2020-05-03 17:56:59

Tempo Effetto Viagra https://abcialisnews.com/# - Cialis Buy Voltaren Online With Out Of Pre <a href=https://abcialisnews.com/#>Cialis</a> Generic Isotretinoin Acne Find Real Visa Cod Only

回复

Reply: Agnes On 2020-05-19 03:10:28

obviously like your web-site but you need to test the spelling on quite a few of your posts. Several of them are rife with spelling issues and I find it very bothersome to tell the reality nevertheless I will definitely come back again.

回复

Add Comment
©2014 lanewechat.lanecn.com , All rights reserved. Power By LaneWeChat 微信PHP开发框架.  京ICP备14005030号