当前位置:网站首页>phpcms小程序插件api接口升级到4.3(新增批量获取接口、搜索接口等)
phpcms小程序插件api接口升级到4.3(新增批量获取接口、搜索接口等)
2022-06-26 08:38:00 【cms小程序插件【官方】】
phpcms小程序插件api接口升级到4.3
(1)全部接口进行代码精简优化,减少不必要的重复代码、冗余代码以及注释
(2)修复诸多bug,合并post和get接收方式并统一调度
(3)修改appsecret改成safecode
(4)重构“获取多栏目前N篇接口”代码,使其更加自主方便调用,比如:可以自定义数量、排序等
(5)新增搜索接口get_search,小程序demo新增search页面(该接口自始至终都存在,只不过一直没有公布出来)
(6)新增筛选接口,该接口仅供参考,只是提供了思路,具体需要根据自己网站实际情况修改
(7)修复小程序demo诸多bug、修复不规范代码、优化首页代码以及合并频道页请求(采取get_toplist接口)
目前所有实现的功能为:
1、网站栏目调用:可调用任意制定的catid的栏目信息及子栏目信息
2、网站列表调用:调用任意栏目信息,如果为单页面调用单页面内容
3、文章内容调用:调用指定id的文章内容,同时可以通过relation=1来调用该文章的相关文章列表
4、推荐位内容调用:调用指定posid的推荐位内容
5、获取用户登录授权信息,并保存到网站后台
6、调用系统配置信息
(1)调用用户留言或评论,如果指定文章id,可以调用该文章下的所有留言或评论
(2)调用用户配置的banner,后台可以随意上传修改删除banner
(3)调用用户配置的基本信息,比如电话、地址、底部版权,设置小程序列表分页数量
(4)对接小程序在线留言,目前支持字段:标题、姓名、电话、邮箱、地址、内容以及回复内容
(5)调用客户留言,既可以调用全部内容,也可以通过文章id调用该文章下的留言
(6)更新或取消留言点赞
7、实现与phpcms v9的自定义表单对接,数据直接在网站后台自定义表单处查看
8、万能接口get_diy.php,可以调用除去内容表之外的表内容;
9、支持多小程序,后台可以创建多个小程序,微信、百度可以同时兼任使用
10、搜索接口,根据phpcms实现按模型分类搜索,搜索匹配标题、关键词和摘要等;
11、批量获取接口:一次请求获取多个栏目的列表信息,并且允许自定义属性,比如:thumb,sum等
效果图:

更多详细信息请查看教程网站:doc.tengcee.com,如果有什么需要了解的随时给我留言
边栏推荐
- 反爬之验证码识别登录 (OCR字符识别)
- Structure diagram of target detection network
- 20220623 getting started with Adobe Illustrator
- ImportError: ERROR: recursion is detected during loading of “cv2“ binary extensions. Check OpenCV in
- Euler function: find the number of numbers less than or equal to N and coprime with n
- Software engineering - personal assignment - question review and personal summary
- Polka lines code recurrence
- Solution to the encoding problem encountered by the crawler when requesting get/post
- Intra class data member initialization of static const and static constexpr
- Use of PCL
猜你喜欢

修复小程序富文本组件不支持video视频封面、autoplay、controls等属性问题
![[unity mirror] use of networkteam](/img/b8/93f55d11ea4ce2c86df01a9b03b7e7.png)
[unity mirror] use of networkteam

Nebula diagram_ Object detection and measurement_ nanyangjx

基于SSM的电脑商城

Install Anaconda + NVIDIA graphics card driver + pytorch under win10_ gpu

【云原生 | Kubernetes篇】深入万物基础-容器(五)

多台三菱PLC如何实现无线以太网高速通讯?

XSS 跨站脚本攻击

【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(一)

Compiling owncloud client on win10
随机推荐
Ultrasonic image segmentation
自动化测试中,三种常用的等待方式,强制式(sleep) 、 隐式 ( implicitly_wait ) 、显式(expected_conditions)
1.23 neural network
phpcms手机站模块实现自定义伪静态设置
Uniapp uses uparse to parse the content of the background rich text editor and modify the uparse style
Code de mise en œuvre de l'intercepteur et du filtre
拦截器与过滤器的实现代码
Pandas vs. SQL 1_ nanyangjx
【MATLAB GUI】 键盘回调中按键识别符查找表
How to use leetcode
ROS learning notes (5) -- Exploration of customized messages
在哪个软件上开户比较安全
Use of PCL
WBC learning notes (I): manually push WBC formula
Object extraction_ nanyangjx
1.21 study logistic regression and regularization
Optimize quiver function in MATLAB to draw arrow diagram or vector diagram (1) -matlab development
[QNX Hypervisor 2.2用户手册]12.1 术语(一)
OpenGL display mat image
Yolov5进阶之二安装labelImg