# moshopserver **Repository Path**: myzero1/moshopserver ## Basic Information - **Project Name**: moshopserver - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-05-28 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # moshopserver小程序商城后台系统 [![Build Status][1]][2] [![Go Report Card][3]][4] [![MIT licensed][5]][6] [1]: https://travis-ci.org/harlanc/moshopserver.svg?branch=master [2]: https://travis-ci.org/harlanc/moshopserver [3]: https://goreportcard.com/badge/github.com/harlanc/moshopserver [4]: https://goreportcard.com/report/github.com/harlanc/moshopserver [5]: https://img.shields.io/badge/license-MIT-blue.svg [6]: LICENSE ## 介绍 - [nideshop](https://github.com/tumobi/nideshop)的golang实现 - 基于[beego](https://github.com/astaxie/beego)开发 本项目需要配合微信小程序端使用,GitHub: [https://github.com/tumobi/nideshop-mini-program](https://github.com/tumobi/nideshop-mini-program) ## 测试环境搭建 - 克隆源码到$GOPATH目录下 go clone https://github.com/harlanc/moshopserver - 下载所有依赖包 go get -d ./... - 创建数据库nideshop并导入项目根目录下的nideshop.sql CREATE SCHEMA `nideshop` DEFAULT CHARACTER SET utf8mb4 ; - 配置好小程序相关字段 [default] default_module='api' [weixin] #小程序 appid appid="" #小程序密钥 secret="" #商户帐号ID mch_id='3' #微信支付密钥 apikey='4' #微信异步通知,例:https://www.nideshop.com/api/pay/notify notify_url='5' - 运行以下命令(默认为开启8080端口) go run main.go - 小程序的配置[参考最后一节](https://www.nideshop.com/documents/nideshop-manual/deployment-centos) ## 微信小程序客户端截图 ![首页](http://qiniu.harlanc.vip/6.9.2019_5:41:56.png) ![专题](http://qiniu.harlanc.vip/6.9.2019_5:43:3.png) ![分类](http://qiniu.harlanc.vip/6.9.2019_5:43:41.png) ![商品列表](http://qiniu.harlanc.vip/6.9.2019_5:45:9.png) ![商品详情](http://qiniu.harlanc.vip/6.9.2019_5:45:53.png) ![购物车](http://qiniu.harlanc.vip/6.9.2019_5:46:26.png) ## 功能列表 + 首页 + 分类首页、分类商品、新品首发、人气推荐商品页面 + 商品详情页面,包含加入购物车、收藏商品、商品评论功能 + 搜索功能 + 专题功能 + 品牌功能 + 完整的购物流程,商品的加入、编辑、删除、批量选择,收货地址的选择,下单支付 + 会员中心(订单、收藏、足迹、收货地址、意见反馈) .... ## 第三方依赖包 - [beego](https://github.com/astaxie/beego) - [go-sql-driver](https://github.com/go-sql-driver/mysql) - [go.uuid](https://github.com/satori/go.uuid) - [jwt-go](https://github.com/dgrijalva/jwt-go) - [slice](https://github.com/bradfitz/slice) - [wxpay](https://github.com/objcoding/wxpay)