ThinkPHP based Wechat background management platform – ThinkAdmin

ThinkPHP based Wechat background management platform – ThinkAdmin

2022-09-02 1 1,463
Resource Number 37478 Last Updated 2025-02-24
¥ 0HKD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

This issue recommends a wechat background management platform based on ThinkPHP – ThinkAdmin.

ThinkAdmin is a background management framework based on the latest ThinkPHP V6 development, using the most relaxed MIT protocol open source. The backend of the project relies on a self-made component ThinkLibrary v6, which encapsulates a large number of common operations, which can quickly develop conventional CURD applications without affecting the original ThinkPHP ecosystem; The background management UI is based on the latest version of the LayUI front-end framework, which loads all LayUI components by default and can be used directly in the framework.

e4f3bdf2f8bf4734b9f988bf6a96e526noop.image_

Default integration components:

File storage engine: Support Qiniu cloud storage, local server storage, Ali Cloud OSS storage, Tencent Cloud COS storage;
Wechat development components: Support wechat service number, wechat enterprise number, wechat mini program, wechat open platform, Wechat merchant payment, Alipay payment;
Other basic components: Support interface services, form tokens, asynchronous tasks (and multi-process task response time is less than 0.5 seconds, compatible with windows and linux);

Install and run:

Most projects now have third-party plug-ins for managing their projects with Composer, and it is recommended that everyone use the Composer tool.

1. Set Aliyun Composer agent

Because domestic access Composer is slow, it is recommended to set the Ariyun Composer image. Run the following command to set ali cloud agent > # composer config – g repo. Packagist composer https://mirrors.aliyun.com/composer

2. Download the app code

># git clone https://github.com/zoujingli/ThinkAdmin

3. Install dependent components

Go to the ThinkAdmin directory and run the command to install the dependencies

># cd ThinkAdmin

># composer install

4. Import the database configuration application

Import the MySql database file and configure config/database.php

5. Debug and run PHP built-in services

># php think run // debug (CMD interface is displayed)

># php think xadmin:queue webstart // daemon (without CMD interface)

6, local development debugging access

Go to http://127.0.0.1:8000 in your browser

7. Online production environment deployment

For details, see ThinkPHP official documentation. You are advised to use the Pagoda panel to manage the Linux/Windows server O&M management panel.

8. Deploy the pseudo-static reference configuration

Pagoda integration environment, directly select mvc rules
Apache Server Configuration
The mod_rewrite-so module is loaded in the httpd.conf configuration file
AllowOverride None changes None to All
Save the following as a.htaccess file in the same directory as the application entry file

<IfModule mod_rewrite.c>    Options +FollowSymlinks -Multiviews    RewriteEngine On    RewriteCond %{REQUEST_FILENAME} !-d    RewriteCond %{REQUEST_FILENAME} !-f    RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]</IfModule>
  • Nginx server configuration
if (!-e $request_filename) {    rewrite ^(.*)$ /index.php$1 last;}
  • IIS Server Management
    If your server environment supports ISAPI_Rewrite, you can configure the httpd.ini file to add the following: RewriteRule (.*)$/index\.php\? s=$1 [I]
    You can configure web.Config under a higher version of IIS to add the rewrite node in the middle:
<rewrite>    <rules>        <rule name="OrgPage" stopProcessing="true">            <match url="^(.*)$"/>            <conditions logicalGrouping="MatchAll">                <add input="{HTTP_HOST}" pattern="^(.*)$"/>                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>            </conditions>            <action type="Rewrite" url="index.php/{R:1}"/>        </rule>    </rules></rewrite>

directory structure:

.├─ app                              Application base directory│  ├─ admin                         Background application directory│  │  ├─ controller                 应用控制器│  │  ├─ route                      应用路由配置│  │  ├─ view                       应用视图目录│  │  └─ sys.php                    模块注册文件│  ├─ index                         默认应用入口│  │  └─ controller                 控制器目录│  └─ wechat                        微信应用目录│     ├─ command                    应用指令目录│     ├─ controller                 控制器目录│     ├─ service                    应用服务目录│     ├─ view                       应用视图目录│     └─ sys.php                    模块注册文件├─ config                           全局配置目录│  ├─ app.php                       应用配置│  ├─ cache.php                     缓存配置 │  ├─ cookie.php                    Cookie 配置│  ├─ database.php                  数据库配置│  ├─ filesystem.php                文件磁盘配置│  ├─ lang.php                      系统多语言配置│  ├─ log.php                       全局日志配置│  ├─ route.php                     URL和路由配置│  ├─ session.php                   Session 配置   │  └─ view.php                      视图配置 ├─ public                           网站开放目录│  ├─ static                        静态资源目录│  │  ├─ plugs                      后台应用插件│  │  └─ theme                      后台应用主题│  ├─ upload                        上传存储目录│  ├─ index.php                     网站访问入口│  ├─ router.php                    网站测试入口│  └─ think                         指令访问入口├─ runtime                          应用的运行时目录,需要可写权限│  ├─ admin                         系统应用运行目录│  ├─ cache                         系统默认缓存目录│  ├─ log                           系统指令运行日志│  ├─ session                       Session 会话缓存│  └─ wechat                        微信应用运行目录├─ safefile                         安全文件上传目录└─ vendor                           Composer 安装的第三方类库目录

Note:

The background UI loads third-party plug-ins based on the latest version of LayUI and RequireJs (LayUI and RequireJs are recommended).
Self-made storage engine: support seven cows cloud storage, local server storage, Ali cloud OSS storage, etc. It is recommended to use seven cows cloud storage, which is relatively affordable and has good support;
Asynchronous task components: built-in asynchronous system tasks, can achieve long-term data processing and cyclic task processing, such as: data export, data synchronization, cyclic processing, big data processing, etc.
Wechat development components: Support wechat service number, wechat mini program, wechat open platform, Wechat merchant payment, Alipay payment, etc. For specific use, refer to the document of WeChatDeveloper;
Module registration file: the sys.php below each module is the system registration file, which will affect the entire project, and can define the public interface functions in the module, and register the instructions in the module.
Remove TP official multi-application components: ThinkAdmin has built-in multi-application components, you do not need to install ThinkPHP official multi-application components (to avoid plug-in service conflicts, you need to uninstall the official multi-application plug-ins).

Interface preview:

Log in

fcdbb556e17a47efaddcaa33a4671b4enoop.image_

  • home page

627f337288cb40c3bd520aa4c30e64f5noop.image_

12fe1cdab84a477aa64cbaf48b7680c5noop.image_

  • console

1dc4563c76eb48b8ac715171326795eenoop.image_

57d236cf3cdf47b3b490d4cd54f904benoop.image_

3a847ed4d0a34237a603da0c1fac292bnoop.image_

a0b3cce82fcb4c68ac79b2b9ef5361cenoop.image_

08822d00b6104aa4bb095aff0a0583b8noop.image_

  • Wechat management

df742226fe0e4e4496e9264bc711e99fnoop.image_

bf1e4bfb4e1344c4a92b47069bcdf9c3noop.image_

3aeb7cdb0af24effaf481cea90515394noop.image_

af46db217e0647cbabe96f19bdded6f4noop.image_

  • system management

3e239f210d464793a3c0521c142e807enoop.image_

2d10b9693a3140babe67b4a444bc3fb6noop.image_

df265985838a4fe0bc836674d1f723d6noop.image_

ed093d5499b84f8f8f8fd28b18458c45noop.image_

You can read more on your own.

If you need project recommendations and resources, please send private letters to the author

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free Source Code ThinkPHP based Wechat background management platform – ThinkAdmin https://ictcoder.com/thinkphp-based-wechat-background-management-platform-thinkadmin/

Share free open-source source code

Q&A
  • 1. Automatic: After making an online payment, click the (Download) link to download the source code; 2. Manual: Contact the seller or the official to check if the template is consistent. Then, place an order and make payment online. The seller ships the goods, and both parties inspect and confirm that there are no issues. ICTcoder will then settle the payment for the seller. Note: Please ensure to place your order and make payment through ICTcoder. If you do not place your order and make payment through ICTcoder, and the seller sends fake source code or encounters any issues, ICTcoder will not assist in resolving them, nor can we guarantee your funds!
View details
  • 1. Default transaction cycle for source code: The seller manually ships the goods within 1-3 days. The amount paid by the user will be held in escrow by ICTcoder until 7 days after the transaction is completed and both parties confirm that there are no issues. ICTcoder will then settle with the seller. In case of any disputes, ICTcoder will have staff to assist in handling until the dispute is resolved or a refund is made! If the buyer places an order and makes payment not through ICTcoder, any issues and disputes have nothing to do with ICTcoder, and ICTcoder will not be responsible for any liabilities!
View details
  • 1. ICTcoder will permanently archive the transaction process between both parties and snapshots of the traded goods to ensure the authenticity, validity, and security of the transaction! 2. ICTcoder cannot guarantee services such as "permanent package updates" and "permanent technical support" after the merchant's commitment. Buyers are advised to identify these services on their own. If necessary, they can contact ICTcoder for assistance; 3. When both website demonstration and image demonstration exist in the source code, and the text descriptions of the website and images are inconsistent, the text description of the image shall prevail as the basis for dispute resolution (excluding special statements or agreements); 4. If there is no statement such as "no legal basis for refund" or similar content, any indication on the product that "once sold, no refunds will be supported" or other similar declarations shall be deemed invalid; 5. Before the buyer places an order and makes payment, the transaction details agreed upon by both parties via WhatsApp or email can also serve as the basis for dispute resolution (in case of any inconsistency between the agreement and the description of the conflict, the agreement shall prevail); 6. Since chat records and email records can serve as the basis for dispute resolution, both parties should only communicate with each other through the contact information left on the system when contacting each other, in order to prevent the other party from denying their own commitments. 7. Although the probability of disputes is low, it is essential to retain important information such as chat records, text messages, and email records, in case a dispute arises, so that ICTcoder can intervene quickly.
View details
  • 1. As a third-party intermediary platform, ICTcoder solely protects transaction security and the rights and interests of both buyers and sellers based on the transaction contract (product description, agreed content before the transaction); 2. For online trading projects not on the ICTcoder platform, any consequences are unrelated to this platform; regardless of the reason why the seller requests an offline transaction, please contact the administrator to report.
View details

Related Source code

ICTcoder Customer Service

24-hour online professional services