- 精华
- 阅读权限
- 70
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2024-4-6
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2024-6-3 08:55:11
|
显示全部楼层
重启一下,给权限
chmod -R 777 /data
chmod -R 777 /usr/local/bin/pause
chmod -R 777 /www/wwwroot/game/api
挂载战斗
ln -sf /data/s1/publish_release/log/fight/ /www/wwwroot/game/fight/dev_s1
PHP配置文件检查下,不是网站那边的配置,是应用商店那边的PHP5.6配置
PHP配置文件--在21行加入以下代码:
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers Origin,Accept,Authorization,platformId,ut,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
add_header Access-Control-Allow-Credentials true;
重载配置--重启PHP
再重启游戏
cd /data/cross/publish_release
./start.sh
cd /data/s1/publish_release
./start.sh
试试,服务端上传的压缩包叫lyzwlkjvip就是对的,我测试玩过很久的 |
|