Golang开源O2O实现 Go2o

码农软件 · 软件分类 · 网店系统/电子商务 · 2020-02-01 15:58:25

软件介绍

What's Go2o

Golang combine simple o2o DDD domain-driven design realization, including multi-channel (businesses), multi-store, multi-member commodity, Promotions, orders, coupons implementation also includes a micro framework in package "gof", providing ORM, Reporting, Web Framework,Rpc Framework.

Golang 结合DDD领域驱动设计的简单o2o实现,包含多渠道(商家),多门店,多会员.商品, 促销,订单,优惠券的实现,依赖一个微型框架atnet/gof,提供ORM,报表,Web Framework,Rpc Framework.

Deploy

1.Complied

git clone https://github.com/atnet/go2o.git /home/usr/go/src/go2o
    export GOPATH=$GOPATH:/home/usr/go/
    cd /home/usr/go
    go build server.go

2.Running Service

Usage of ./server:
      -debug=false: enable debug
      -help=false: command usage
      -mode="sh": boot mode.'h'- boot http service,'s'- boot socket service
      -port=1001: web server port
      -port2=1002: socket server port

3.Add http proxy by nginx

server {
          listen          80;
          server_name     *.ts.com;
          location / {
             proxy_pass   http://localhost:1002;
             proxy_set_header Host $host;
          }
    }

4.Add test hosts

vi /etc/hosts
    127.0.0.1   wly.ts.com static.ts.com img.ts.com partner.ts.com
    member.ts.com www.ts1.com www.ts2.com api.ts.com wsapi.ts.com

Access Entry

Partner Management

partner.ts.com

Member Center

member.ts.com

Partner Sales

wly.ts.com

you can add host to table "pt_host" use MySql Workbench.

本文地址:https://www.codercto.com/soft/d/24668.html

软件人才管理的艺术

软件人才管理的艺术

Michael Lopp / 罗小平 / 人民邮电出版社 / 201008 / 35.00元

本书作者具有15年的硅谷人才管理经验,他在博客上发表了大量探讨软件人才的管理之道的文章,深受读者欢迎。本书素材取自他的博客文章,用深入浅出的语言,讲述发人深思的道理,具有很强的现实操作性。 本书分为三大部分:“管理的箭袋”、“过程就是产品”、“你的其他版本”。前两部分分别讲述了人员与产品的管理,第三部分除了讨论管理之外,还讲述了如何有针对性地准备简历和电话面试,来提高自己面试成功的几率。书中......一起来看看 《软件人才管理的艺术》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具