• 文章介绍
  • 广告图
    广告图
    也想出现在这里?联系我们

    资源简介:

    Go语言,没测试,自助下载,随意下了研究吧!

    1.安装宝塔环境:

    yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh
        cd fish\
        go build -o account.exe account\main\main.go account\main\init.go account\main\config.go
        go build -o hall.exe hall\main\main.go hall\main\init.go hall\main\config.go
        go build -o fish.exe game\main\main.go game\main\init.go game\main\config.go

    2.解压客户端:
    tar -zxvf fish.tar.gz /var/www/html/client/fish
    3.配置nginx:

        server {
            listen       80;
            server_name  fish.com;
            charset utf8;
            index index.html index.htm;
            location /qq {
                add_header Access-Control-Allow-Origin *;
                proxy_set_header X-Target $request_uri;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://127.0.0.1:9000;
            }
            location / {
                root /var/www/html/client/fish;
                add_header Access-Control-Allow-Origin *;
                expires 7d;
            }
        }

    配置文件位置 /common/conf 内含redis配置和qq第三方登录配置,请自行修改。

    图片展示:

    H5捕鱼游戏源码go语言服务器端网页版插图 H5捕鱼游戏源码go语言服务器端网页版插图2

    广告图
    广告图
    也想出现在这里?联系我们
    常见问题FAQ
    免费下载或者VIP会员专享资源能否直接商用?
    本站资源均通过网络收集整理,仅供个人研究学习使用。其版权归该软件和程序代码的合法拥有者所有,用户应自行核实资源版权及合法性,禁止用于商业用途、非法活动或任何违反国家法律法规的情形。
    程序、代码漏洞兼容性问题或功能缺陷等免责声明
    由于本站资源均通过网络收集整理而来,并非本站原创,故不能完全保证其功能性或代码兼容性。用户需自行验证资源是否符合需求,因以下情形导致的损失,本站不承担任何责任:
    程序、源码等计算机软件类资源可能包含开发者遗留的代码漏洞(BUG)、兼容性问题或功能缺陷。 本站不对此类技术瑕疵提供免费修复服务,用户需自行承担调试、修改或放弃使用的风险。
    © 2025 by - 源多多资源网 & Www.ZYYdd.Com. All rights reserved 蜀ICP备2025145155号-1