GithubHelp home page GithubHelp logo

ewingyangs / weixin-order Goto Github PK

View Code? Open in Web Editor NEW
154.0 11.0 71.0 10.52 MB

基于微信公众号的点餐系统

License: Other

PHP 61.80% CSS 0.88% JavaScript 31.93% HTML 5.12% Batchfile 0.05% Roff 0.01% Makefile 0.05% Python 0.10% Shell 0.02% Hack 0.06%

weixin-order's Introduction

项目介绍:

  • 用Yii2框架做的一个微信公众号点餐系统,商家接入管理后台之后就可以在后台添加菜式的类型和菜式的名称,客户在微信扫描二维码关注公众号就可以在公众号点餐,下单时提交餐桌号还有相应的信息到商家后台,商家在后台可以查看到订单信息

  • 业务流程图如下 图片1.png

效果图如下

  • 点餐界面 图片1.png

  • 下单页面 图片1.png

  • 管理后台 图片1.png

项目部署

  • 下载项目

      git clone https://github.com/EwingYangs/weixin-order
    
  • composer 安装yii库

      cd weixin-order
      composer install
    
  • nginx 配置,看根目录的nginx.conf文件

  • 数据库配置

    • 创建数据库weixinorder

    • 导入跟目录下的order.sql文件到数据库

    • 在config/db.php 配置数据库信息

        return [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=weixinorder',
            'username' => 'root',
            'password' => '123456',
            'charset' => 'utf8',
        ];
      
  • 点餐地址(前端) www.order.com

  • 后台地址(后台) www.order.com/site/index 账号密码为ppoo/123456

其他

  • 提示,因为个人原因缺乏支付功能,支付代码已经完成
  • 项目交流请QQ联系501978500

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.