SeoWhy Tangram Create Mini Program
SeoWhy Tangram Introduction
SeoWhy Tangram is a website to mini program production platform developed by more than a decade of technical precipitation and the mainstay of the webmaster circle, which uses Taro in the bottom of the mini program and supports a variety of mainstream mini program platforms, such as QQ, WeChat, Byte Jump, 360, Alipay, Baidu .
As long as your website is seowhy 6 system, Wordpress, DedeCMS, Imperial CMS, Zblog, PHPCMS and any of them, then you only need to come to the search outside the jigsaw puzzle, some simple configuration and beautification can be connected to the content of their website a key to the small You only need to come to Jigsaw, do some simple configuration and beautification, you can connect your website content to the small program with one click, to achieve a website, a mini program, multi-channel display.
Website: https://diy.seowhy.com/
Taro Sample:https://diy.seowhy.com/case
Using SeoWhy Tangram
- Login and register to have a free mini program
- design configuration package download mini program package upload
SeoWhy Tangram mini program developer documentation
SeoWhy Tangram mini program makes your own developed system support mini program too
More Details refer to 《SeoWhy Tangram mini program developer documentation》
Step 1: Define constants
1. DB_PATH Database Directory
2. PROVIDER Program Name
Step 2: Implementation method
1、main.php
- appClient class
- connectProvider method
Demo:
2、 provider.php
Must implement method:
Field Name | Description |
---|---|
getPosts | Get list data |
getCategories | Get category list |
getCategory | Get category detail |
getArticles | Get article list |
getArticle | Get article detail |
getProducts | Get product list |
getProduct | Get product detail |
getPages | Get page list |
getPage | Get page detail |
getComments | Get comments list |
saveComment | Add/modify comments |
commentAttitude | Like or disagree with comments |
getMapping | Get sitemap |
getSiteMapIndex | Get sitemapIndex |
_getRelations | Get related products |
_getSubCatIds | Get all sub-categories |
getThumb | Format thumbnails |
convertArticle | Format article return parameters |
convertProduct | Format product return parameters |
convertCategory | Format categories |
convertPage | Format page |
convertComment | Format message |
parseContent | Format Message |
getParams | Get extension fields |