1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace App\Repositories\Contracts;
- /**
- *
- * @author lilin
- *
- */
- interface WxServiceKfInterface
- {
- const TYPENAME = '微信公众号-客服接口 ';
-
-
- /**
- * 添加客服帐号 POST
- * @var string
- */
- const URL_KF_ADD= 'https://api.weixin.qq.com/customservice/kfaccount/add?access_token=ACCESS_TOKEN';
- /**
- * 修改客服帐号 POST
- * @var string
- */
- const URL_KF_UPDATE = 'https://api.weixin.qq.com/customservice/kfaccount/update?access_token=ACCESS_TOKEN';
- /**
- * 删除客服帐号 POST
- * @var string
- */
- const URL_KF_DEL = 'https://api.weixin.qq.com/customservice/kfaccount/del?access_token=ACCESS_TOKEN';
- /**
- * 设置客服帐号的头像 POST/FORM 文件必须是jpg 推荐使用640*640
- * @var string
- */
- const URL_KF_UPLOADHEADIMG = 'http://api.weixin.qq.com/customservice/kfaccount/uploadheadimg?access_token=ACCESS_TOKEN&kf_account=KFACCOUNT';
- /**
- * 获取所有客服账号 GET
- * @var string
- */
- const URL_KF_LIST = 'https://api.weixin.qq.com/cgi-bin/customservice/getkflist?access_token=ACCESS_TOKEN';
- /**
- * 发消息(各种信息) POST
- * @var string
- */
- const URL_KF_SEND = 'https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN';
- /**
- * 客服输入状态 POST
- * @var string
- */
- const URL_KF_TYPING = 'https://api.weixin.qq.com/cgi-bin/message/custom/typing?access_token=ACCESS_TOKEN';
- }
|