微信小程序点餐+SpringBoot(包括后台)

个人资源与分享网站:http://xiaocaoshare.com/

需求背景:

微信小程序极大方便了广大用户的使用和方便,因为想开发一个微信小程序点餐系统,作为自己的毕业设计。

技术架构:

小程序端:原生微信小程序

后端:SpringBoot+mybatis+mysql+html+js+css

开发工具:

eclipse/IDEA     微信开发者工具   mysql

用户角色:

买家:搜索店铺并进行点餐

商家:处理买家提交的订单并准备菜品,通知骑手送餐

骑手:送餐

管理员:负责后台管理

涉及到的功能:

注册、登录、买家点餐、提交订单、商家接单、骑手抢单、订单信息、留言等。

后台部分功能代码:

@Controller
@RequestMapping(value = "/home")
public class HomeController {    
    @RequestMapping(value = "/setSession", produces = "text/plain; charset=utf-8", method = { RequestMethod.GET,
            RequestMethod.POST })
    @ResponseBody
    public String setSession(HttpServletRequest req) {
        HttpSession session = req.getSession();
        String key = req.getParameter("key");
        String value = req.getParameter("value");
        session.setAttribute(key, value);
        
        return null;
    }
    
    @RequestMapping(value = "/getSession", produces = "text/plain; charset=utf-8", method = { RequestMethod.GET,
            RequestMethod.POST })
    @ResponseBody
    public String getSession(HttpServletRequest req) {
        HttpSession session = req.getSession();
        String key = req.getParameter("key");
        String value = session.getAttribute(key)==null?null:session.getAttribute(key).toString();
        return value;
    }
    
}




    
    点餐
    
    
    
    
    
    
    
    
    
    
    
    





    点餐

     style="height: 30px;">
    

        
            
                
                
                
                    
                    
                
            
        

                                                   href="login.html">退出
                

                    主题    :经典  
                    
                    
                    灰色  
                    酷黑  
                    bootstrap  
                    清新蓝  
                    深黑  
                    花布  
                    阳光  
                    metro  
                    metroblue  
                    metrogray  
                    metrogreen  
                    metroorange  
                    metrored  


                

    



     style="width: 180px;" id="west">
    

     style="background: #eee; overflow-y: hidden">
    

        
             closable="true">
            
        

    


     split="true" style="width: 180px; overflow: hidden;">
    

                type="application/x-shockwave-flash" allowscriptaccess="always" name="honehoneclock" bgcolor="#ffffff"
           quality="high" src="__PUBLIC__/swf/honehone_clock_wh.swf" wmode="transparent">
    


     buttons="#dlg-buttons2" resizable="true" modal="true" closed='true'>
    

        
            
                
                
            
            
                
                
            
        

                                                style="width:90%"/>
                

                                                style="width:90%"/>
                

    

    

        保存
    


    
刷新

    
    
关闭

    
全部关闭

    
除此之外全部关闭

    
    
当前页右侧全部关闭

    
当前页左侧全部关闭



项目演示地址:

需要源码的小伙伴可以加qq:3083155908,相互交流学习技术,提供技术支持

小程序演示地址:

链接:https://pan.baidu.com/s/1Ih2SZyh86nSseA7GncXPIg 
提取码:8ygl

后台管理系统演示地址:

链接:https://pan.baidu.com/s/1NBX0e9aDHN-Lld033JzjWw 
提取码:9oo9
 

你可能感兴趣的:(前端)