[Open source sharing] Source code of online customer service system-thinphp website online customer service system source code (complete build tutorial with source code)...

The core of this article is the source code of a multilingual online customer service chat system. We'll keep it very simple here.

This is an old version of PHP customer service source code.

Based on ThinkPHP5 + workerman, the overall architecture is relatively old. The PHP customer service and interface need to run under php-fpm, and the instant messaging websocket server needs to be executed on the command line.

Source code download

In the link below, download the zip archive

https://gitee.com/taoshihan/php-workerman-chat

or

git clone https://gitee.com/taoshihan/php-workerman-chat.git

New version demo official website

https://gofly.v1kf.com

configuration file

import database

Create a database name for the MySQL database, select utf8mb4 for the character set

Import kefu.sql in the project root directory to the MySQL database

web service

The address of the configuration file is, project path/config/database.php, configure MySQL link information

websocket service

The address of the configuration file is in, the project path/websocket/config.php, configure the MySQL link information

service start

websocket service

Windows system enters the project path/websocket, double-click start_for_win.bat

The linux system enters the project path/websocket and executes php start.php start

Manage background deployment

configure nginx

Refer to the configuration method of ordinary PHP projects here, the root path is configured under the project path /public

pseudo static configuration

nginx configures the following pseudo-static settings, which can remove index.php in the url

if (!-e $request_filename) {
    rewrite ^/(.*)$ /index.php?s=$1 last;
    break;
}

background address

Admin background: /admin/login/index.html Account password: admin/123

Merchant background: /seller/login/index.html Account password: Created by the administrator

Customer service workbench: log in to the merchant background, and then click on the left customer service workbench

special statement

此代码为网络公开的客服系统源码,不保证可用性以及安全性,不能用于任何商业线上环境,仅供个人学习研究使用。

如果您有客服系统需求,可以来我官网gofly.v1kf.com,测试我完整独立开发的客服系统,基于golang语言,是一款高性能高可用功能全面的多商户客服系统。

Guess you like

Origin blog.csdn.net/taoshihan/article/details/131799885