1 Star 0 Fork 0

左浩杰 / fish

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

捕鱼

运行步骤:

1.下载源码:

git clone https://github.com/dwg255/fish

2.编译:

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

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

4.配置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第三方登录配置,请自行修改。

5.在线示例: http://fish.blzz.shop


License

This project is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.


# 捕鱼 运行步骤: 1.下载源码: git clone https://github.com/dwg255/fish 2.编译: 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 3.解压客户端: tar -zxvf fish.tar.gz /var/www/html/client/fish 4.配置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第三方登录配置,请自行修改。 5.在线示例: http://fish.blzz.shop --- License This project is released under the terms of the MIT license. See [LICENSE](LICENSE) for more information or see https://opensource.org/licenses/MIT. --- ![](https://github.com/dwg255/fish/blob/master/client/qg_%E5%89%AF%E6%9C%AC.jpg?raw=true) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/1.jpg) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/2.jpg) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/3.jpg) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/4.jpg) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/5.jpg) ![](https://raw.githubusercontent.com/dwg255/fish/master/client/6.jpg) ![](https://github.com/dwg255/fish/blob/master/client/qg_%E5%89%AF%E6%9C%AC.jpg?raw=true)

简介

golang h5捕鱼游戏 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deux/fish.git
git@gitee.com:deux/fish.git
deux
fish
fish
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891