农业图书情报学刊 ›› 2017, Vol. 29 ›› Issue (6): 51-54.doi: 10.13998/j.cnki.issn1002-1248.2017.06.012

• 网络技术 • 上一篇    下一篇

基于 PHP的图书馆微信公众平台API接口设计与实现

阎 冲   

  1. 山西医科大学图书馆,山西 太原 03001
  • 收稿日期:2017-03-22 出版日期:2017-06-05 发布日期:2017-06-09
  • 作者简介:阎冲(1988-),男,硕士,山西医科大学图书馆,助理馆员,研究方向:信息资源建设。
  • 基金资助:
    2015年度山西医科大学校青年基金“高校图书馆自助服务微信平台API研发”(项目编号:02201535)

Design and Implementation of API Interface for Library’s Wechat public platform Based on PHP

YAN Chong   

  1. Library of Shanxi Medical University, Shanxi Taiyuan 030001, China
  • Received:2017-03-22 Online:2017-06-05 Published:2017-06-09

摘要: 图书馆微信公众平台使用率高,软件接口丰富,内容可视化强。通过数据特征分析、模拟HTTP请求、全局唯一票据管理等关键技术和方法,研究创建微信公众平台自定义菜单、设置系统命令字、接收消息、分析消息数据、发送客服消息、操作业务数据库、发送被动响应消息、网页授权获取用户信息及群发信息等功能,进一步开发图书馆自助服务微信公众平台。通过链接微信公众平台API接口,实现图书馆微信公众平台与读者进行消息交互的功能,使图书馆自助服务微信公众平台作为图书馆泛在化服务系统的重要组成部分。

关键词: 图书馆服务, 微信公众平台, API

Abstract: Library’s wechat public platform has high utilization rat, rich software interface and strong visual content. Through data characteristic analysis, simulation of HTTP requests and the only global bill management and other key technologies and methods, this paper created public the custom menu, set up the system command words, received and analyzed messages, and sent customer service message, operated databases, sent passive response message, obtain user information and sending information authorized by web page, and further developed the wechat platform service platform. Through the link between wechat public platform and API interface, it achieved the interaction of library’s wechat public platform and the readers, which made the self-service of library wechat public platform as an important part of library’s ubiquitous service system.

Key words: library service

中图分类号: 

  • G250.7

引用本文

阎 冲. 基于 PHP的图书馆微信公众平台API接口设计与实现[J]. 农业图书情报学刊, 2017, 29(6): 51-54.

YAN Chong. Design and Implementation of API Interface for Library’s Wechat public platform Based on PHP[J]. , 2017, 29(6): 51-54.