《GOLANG 捕鱼》源码

《GOLANG 捕鱼》源码-飞猪资源网
《GOLANG 捕鱼》源码
此内容为付费资源,请付费后查看
10002000
立即购买
您当前未登录!建议登陆后购买,可保存购买订单
付费资源
已售 807

服务器为Golang编写。

1.编译:cd fish\\go build -o account.exe account\\main\\main.go account\\main\\init.go account\\main\\config.gogo build -o hall.exe hall\\main\\main.go hall\\main\\init.go hall\\main\\config.gogo 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第三方登录配置,请自行修改。

《GOLANG 捕鱼》源码 《GOLANG 捕鱼》源码 《GOLANG 捕鱼》源码

© 版权声明
THE END
文章版权归作者所有,未经允许请勿转载。本站资源均来自互联网,仅供研究学习,禁止违法使用和商用,产生法律纠纷本站概不负责!如果侵犯了您的权益请与我们联系!
点赞460赞赏 分享
feizhuAdmin的头像-飞猪资源网钻石会员
评论 抢沙发

请登录后发表评论

    暂无评论内容

©文章声明