基于微信小程序的答题软件设计开发
2021-06-28刘浩然刘彬
刘浩然 刘彬



摘 要:微信小程序凭借其免安装、功能多元化、成本低等优势迅速积累大量用户。为进一步探索微信小程序未来发展趋势,结合攀枝花市生态环境局相关业务需求进行调研和分析,基于微信小程序B/S结构设计了一款微信答题小程序。用户无须安装该程序即可在线答题,学习环保相关知识,较好地满足了攀枝花市生态环境局网络宣传环保知识的业务需求。
关键词:微信小程序;B/S结构;小程序设计
中图分类号:TP311.5 文献标识码:A 文章编号:2096-4706(2021)01-0028-03
Design and Development of Answering Software Based on WeChat Applet
LIU Haoran,LIU Bin
(Panzhihua University,Panzhihua 617000,China)
Abstract:WeChat applets rapidly accumulate a large number of users by virtue of its advantages of no installation,diversified functions and low cost. In order to further explore the future development trend of WeChat applets,a WeChat answering applet is designed with the B/S structure of WeChat applets by combining research and analysis with the business needs of Panzhihua Ecological Environment Bureau. Users do not need to install the program to answer questions online and learn environmental protection related knowledge,which better meets the business needs of Panzhihua Ecological Environment Bureau to publicize environmental protection knowledge online.
Keywords:WeChat applet;B/S structure;applet design
0 引 言
攀枝花市生态环境局现阶段主要依靠传统方法对环保知识进行宣传推广,需要工作人员定点宣传,耗费大量的人力财力,效率低下,宣传效果差,已不适应信息化时代的发展需要。在环保宣推工作中引入信息化手段可有效解决上述问题。利用微信小程序B/S结构及微信生态体系,可方便快捷地实现环保知识宣传,且微信小程序具有易实现、易操作、无纸化以及后台数据可自动化分析等优势,在满足攀枝花市生态环境局业务需求的同时,还能更好地提高其业务效率,是一种行之有效的现代化环保宣传推广解决方案[1]。
1 方案结构设计
本次小程序的设计基于微信小程序开发平台,通过自部署后台服务器实现数据加工、整理及分析功能,数据库使用MySQL,接口整体规范遵循RESTful方式,通过一套统一的接口为客户端提供服务,实现前后端分离开发,此外,利用微信原生API简化用户信息的获取、本地存储以及支付等开发步骤的同时还提高了系统的安全性。……
