GithubHelp home page GithubHelp logo

moshopserver's Introduction

moshopserver小程序商城后台系统

Build Status Go Report Card MIT licensed

介绍

本项目需要配合微信小程序端使用,GitHub: 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
    
  • 小程序的配置参考最后一节

微信小程序客户端截图

首页

专题

分类

商品列表

商品详情

购物车

功能列表

  • 首页
  • 分类首页、分类商品、新品首发、人气推荐商品页面
  • 商品详情页面,包含加入购物车、收藏商品、商品评论功能
  • 搜索功能
  • 专题功能
  • 品牌功能
  • 完整的购物流程,商品的加入、编辑、删除、批量选择,收货地址的选择,下单支付
  • 会员中心(订单、收藏、足迹、收货地址、意见反馈) ....

第三方依赖包

moshopserver's People

Contributors

harlanc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.