多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## **缓存设置** ``` 此功能主要用在订单语音播报,订单自动刷新、订单自动确认收货等场景,如不会配置,请联系售后客服协助配置!!! ``` ![](https://img.kancloud.cn/bc/ec/bcec1e0014a0a3de8e936824e02efe37_1273x696.png) ``` 1.先进入宝塔,然后点击软件商店找到网站对应的php版本,点击设置(确保php版本大于或等于7.2及哦!) ``` ![](https://img.kancloud.cn/8d/0a/8d0a575d36bb33ec3d110240dc749812_1920x749.png) ``` 2.安装redis扩展和swoole扩展(redis默认是没有密码的,如要设置请参考下面设置教程) ``` ![](https://img.kancloud.cn/6d/42/6d426020a3ba8ab855f79a36c7226063_1920x766.png) ``` 3.登陆阿里云,在服务器实例安全组规则中手动添加一条9875端口,操作如图所示: ``` ![](https://img.kancloud.cn/ff/5f/ff5fb353240c2f7e7be99bed63caaa17_1526x227.png) ``` 4.如果是宝塔用户,需要在宝塔后台安全里面放行9875端口 ``` ![](https://img.kancloud.cn/35/7f/357fd71ea03c4ffbcc4bdfa2fe99410a_977x259.png) ``` 5.配置https证书位置,把证书复制进去 ``` ![](https://img.kancloud.cn/1c/1b/1c1b648c40e1b3e805f4f9067c050296_1920x757.png) ![](https://img.kancloud.cn/a6/7c/a67cf80ed033a18cb52842dff6da48f5_852x481.png) 注意复制不要带后面的分号“;” !!! 注意复制不要带后面的分号“;” !!! 注意复制不要带后面的分号“;” !!! 复制粘贴填入后台缓存设置这边 ![](https://img.kancloud.cn/97/f6/97f6603cac63eda0fdcc4237f646a059_1423x789.png) ``` 6.在宝塔项目根目录运行sh openVoice.sh命令  开启语音提醒服务端服务 ``` ![](https://img.kancloud.cn/6f/e4/6fe4d54d533f6dd18e80aaf004213e36_1920x632.png) ``` * 独立版配置路径 ``` ![](https://img.kancloud.cn/3a/2c/3a2ca363585b988eafb6177c209843a9_1920x596.png) ![](https://img.kancloud.cn/79/c7/79c70f061c67289ae0ccbb1108adc3b7_1920x756.png) ``` * 微擎版配置路径 ``` ![](https://img.kancloud.cn/13/b4/13b4dfe0a80bc62fa14f6eae06925e79_1920x824.png) ![](https://img.kancloud.cn/42/9a/429a58c5414cd50424ec9b59b31ee25e_1920x824.png) ![](https://img.kancloud.cn/2d/dc/2ddc102337c62d0c29477ee869aa973f_1920x825.png) ``` 7.检测服务端是否开启 配置好后一定要检测一下看是否提示启动成功! 配置好后一定要检测一下看是否提示启动成功! 配置好后一定要检测一下看是否提示启动成功! ``` ![](https://img.kancloud.cn/2a/14/2a14518a69a4579adc6f2d7e6ef36b92_1322x799.png) **redis密码设置** ``` 软件商店搜索redis,点击设置 ``` ![](https://img.kancloud.cn/17/b6/17b674e9ab70636d85466d9dcaf17669_1920x643.png) ``` 注意:设置密码之后必须要重启才能生效哦! 也可以不用设置密码! ``` ![](https://img.kancloud.cn/55/4a/554a2c1988f916873320b0b74038dc26_1920x757.png) ![](https://img.kancloud.cn/09/0e/090e2cf05aff262fc24c727d5d7156a9_1920x753.png)