Loading…

CMS tags, tag cloud

Table of contents on this page
# Preface This tutorial is based on the "apifm-wxapi" module and teaches you how to quickly implement small program development, so you may need to understand the following knowledge points first: ["Creating HelloWorld Project"](https://www.yuque.com/apifm/doc/hezlrm) ["Use "apifm-wxapi" to quickly develop small programs"](https://www.yuque.com/apifm/doc/mdldsd) ["Register for free to open the backend and obtain an exclusive domain name"](https://www.yuque.com/apifm/doc/qr6l4m) # Function introduction 1. All tags used in background article management are summarized and counted, and the usage quantity is calculated; 2. The applet reads this data, displays it, and provides users with quick searches; 3. Sorting according to the number of summary statistics can realize the display of unpopular and popular tags; **You need to fill in the tags for the article in the background article management first, otherwise this example will not be able to read the data! ** _Review Article Management:_ ["Mini program adds article/news/information/dynamic functions and supports user submissions"](https://www.yuque.com/apifm/doc/biuh0h) # Mini program code: ```plain const WXAPI = require('apifm-wxapi') WXAPI.init('gooking') Page({ data: { }, onLoad: function (options) { }, onShow: function () { }, cmsTags() { // Read all tag lists WXAPI.cmsTags().then(res => { console.log(res) if (res.code == 0) { wx.showToast({ title: 'Read successfully', icon: 'success' }) } else { wx.showToast({ title: res.msg, icon: 'none' }) } }) } }) ``` > WXAPI.init('gooking') This code links your mini program to your backend, where gooking is your exclusive domain name (please check the chapter about exclusive domain names in the preface); > _No back-end programming is required, as long as you have a good idea, you can quickly implement it! _ Looking forward to your progress! grateful!