基于微信小程序的運(yùn)動場館預(yù)約系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)_第1頁
基于微信小程序的運(yùn)動場館預(yù)約系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)_第2頁
基于微信小程序的運(yùn)動場館預(yù)約系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)_第3頁
基于微信小程序的運(yùn)動場館預(yù)約系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)_第4頁
基于微信小程序的運(yùn)動場館預(yù)約系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)_第5頁
已閱讀5頁,還剩42頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

福州工商學(xué)院本科生畢業(yè)論文(設(shè)計(jì))目錄18193摘要 參考文獻(xiàn)張強(qiáng)志,鄭慶,黃志芳,等.校園學(xué)習(xí)生活小助手微信小程序的設(shè)計(jì)與實(shí)現(xiàn)[J].電腦知識與技術(shù),2025,21(07):61-63.張澤勝,李嵩,張建波.基于微信小程序的社會救助入戶調(diào)查系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[J].現(xiàn)代信息科技,2025,9(04):97-102.相景麗.MySQL數(shù)據(jù)庫技術(shù)在校園信息管理中的應(yīng)用研究[J].信息記錄材料,2025,26(03):104-106+131.許文鋒.軟件工程中Web開發(fā)技術(shù)的應(yīng)用[J].信息記錄材料,2024,25(09):150-152.曹文平.基于銷售點(diǎn)框架的Java面向?qū)ο蟪绦蛟O(shè)計(jì)教學(xué)研究與實(shí)踐[J].電腦知識與技術(shù),2025,21(09):130-133.馬巖樞,陳奇.基于微信開發(fā)者工具的天窗開啟控制與試驗(yàn)研究[J].汽車實(shí)用技術(shù),2024,49(02):90-94.崔藝文,賀薇.基于MBSE的直升機(jī)動力系統(tǒng)架構(gòu)設(shè)計(jì)[J].中國科技信息,2025,(09):9-13.GuoJingjing,LiuXuebo.DesignandApplicationofParameterSettingManagementSystemBasedonJava[J].ShanxiElectronicTechnology,2023,(04):54-56+60.陳元亮,馬福辰,周遠(yuǎn)航,等.分布式系統(tǒng)動態(tài)測試技術(shù)研究綜述[J/OL].軟件學(xué)報,1-39[2025-05-12].]楊龍飛,郭夢利.高校在線學(xué)習(xí)平臺系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[J].福建電腦,2025,41(03):93-96.附錄1.登陸@IgnoreAuth

@RequestMapping(value="/login")

publicRlogin(Stringusername,Stringpassword,Stringcaptcha,HttpServletRequestrequest){

YonghuEntityu=yonghuService.selectOne(newEntityWrapper<YonghuEntity>().eq("yonghuzhanghao",username));

if(u==null||!u.getMima().equals(password)){

returnR.error("賬號或密碼不正確");

}

Stringtoken=tokenService.generateToken(u.getId(),username,"yonghu","用戶");

returnR.ok().put("token",token);

}2.注冊@IgnoreAuth

@RequestMapping("/register")

publicRregister(@RequestBodyYonghuEntityyonghu){

YonghuEntityu=yonghuService.selectOne(newEntityWrapper<YonghuEntity>().eq("yonghuzhanghao",yonghu.getYonghuzhanghao()));

if(u!=null){

returnR.error("注冊用戶已存在");

}

LonguId=newDate().getTime();

yonghu.setId(uId);

yonghuService.insert(yonghu);

returnR.ok();

}3.場地信息/***列表*/@RequestMapping("/page")publicRpage(@RequestParamMap<String,Object>params,ChangdixinxiEntitychangdixinxi, HttpServletRequestrequest){EntityWrapper<ChangdixinxiEntity>ew=newEntityWrapper<ChangdixinxiEntity>(); PageUtilspage=changdixinxiService.queryPage(params,MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew,changdixinxi),params),params));returnR.ok().put("data",page);}/***查詢*/@RequestMapping("/query")publicRquery(ChangdixinxiEntitychangdixinxi){EntityWrapper<ChangdixinxiEntity>ew=newEntityWrapper<ChangdixinxiEntity>(); ew.allEq(MPUtil.allEQMapPre(changdixinxi,"changdixinxi")); ChangdixinxiViewchangdixinxiView=changdixinxiService.selectView(ew); returnR.ok("查詢場地信息成功").put("data",changdixinxiView);}/***修改*/@RequestMapping("/update")@TransactionalpublicRupdate(@RequestBodyChangdixinxiEntitychangdixinxi,HttpServletRequestrequest){changdixinxiService.updateById(changdixinxi);//全部更新returnR.ok();}/***刪除*/@RequestMapping("/delete")publicRdelete(@RequestBodyLong[]ids){changdixinxiService.deleteBatchIds(Arrays.asList(ids));returnR.ok();}4.預(yù)約審核//完成審核asynconFinishTap(){ if(!this.detail.sfsh){ this.$utils.msg('請選擇審核狀態(tài)'); return } if(!this.detail.shhf){ this.$utils.msg('請?zhí)顚憣徍嘶貜?fù)'); return } if(this.detail.sfsh=="通過"){ this.detail.sfsh='是' } if(this.detail.sfsh=="不通過"){ this.detail.sfsh='否' } if(this.detail.sfsh=="待審核"){ this.detail.sfsh='待審核' } awaitthis.$api.update('changdiyuyue',this.detail); this.$utils.msg('審核成功'); this.$refs.popup.close();}5.費(fèi)用支付//支付onPayTap(){ uni.setStorageSync('paytable','changdiyuyue'); uni.setStorageSync('payObject',this.detail); this.$utils.jump('../pay-confirm/pay-confirm?type=1')}asyncsubmitTap(){varthat=this;uni.showModal({title:'提示',content:'是否確認(rèn)支付',success:asyncfunction(res){if(res.confirm){that.obj.ispay="已支付";awaitthat.$api.update(that.table,that.obj);that.$utils.msgBack('支付成功');}}});}6.在線咨詢//回復(fù)addOrUpdateHandler(row){this.showFlag=true;this.$nextTick(()=>{this.$refs.addOrUpdate.init(row.userid);});}/***后端保存*/@RequestMapping("/save")publicRsave(@RequestBodyChatEntitychat,HttpServletRequestrequest){ chat.setId(newDate().getTime()+newDouble(Math.floor(Math.random()*1000)).longValue()); if(StringUtils.isNotBlank(chat.getAsk())){ chatService.updateForSet("isreply=0",newEntityWrapper<ChatEntity>().eq("userid",request.getSession().getAttribute("userId"))); chat.setUserid((Long)request.getSession().getAttribute("userId")); chat.setIsreply(1); } if(StringUtils.isNotBlank(chat.getReply())){ chatService.updateForSet("isreply=0",newEntityWrapper<ChatEntity>().eq("userid",chat.getUserid())); chat.setAdminid((Long)request.getSession().getAttribute("userId")); }chatService.insert(chat);returnR.ok();}7.用戶管理/***列表*/@RequestMapping("/page")publicRpage(@RequestParamMap<String,Object>params,YonghuEntityyonghu, HttpServletRequestrequest){EntityWrapper<YonghuEntity>ew=newEntityWrapper<YonghuEntity>(); PageUtilspage=yonghuService.queryPage(params,MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew,yonghu),params),params));returnR.ok().put("data",page);}/***保存*/@RequestMapping("/save")publicRsave(@RequestBodyYonghuEntityyonghu,HttpServletRequestrequest){ yonghu.setId(newDate().getTime()+newDouble(Math.floor(Math.random()*1000)).longValue()); YonghuEntityu=yonghuService.selectOne(newEntityWrapper<YonghuEntity>().eq("yonghuzhanghao",yonghu.getYonghuzhanghao())); if(u!=null){ returnR.error("用戶已存在"); } yonghu.setId(newDate().getTime());yonghuService.insert(yonghu);returnR.ok();}/***修改*/@RequestMapping("/update")@TransactionalpublicRupdate(@RequestBodyYonghuEntityyonghu,HttpServletRequestrequest){yonghuService.updateById(yonghu);//全部更新returnR.ok();}8.取消信息管理/***列表*/@RequestMapping("/page")publicRpage(@RequestParamMap<String,Object>params,QuxiaoxinxiEntityquxiaoxinxi, HttpServletRequestrequest){ StringtableName=request.getSession().getAttribute("tableName").toString(); if(tableName.equals("yonghu")){ quxiaoxinxi.setYonghuzhanghao((String)request.getSession().getAttribute("username")); }EntityWrapper<QuxiaoxinxiEntity>ew=newEntityWrapper<QuxiaoxinxiEntity>(); PageUtilspage=quxiaoxinxiService.queryPage(params,MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew,quxiaoxinxi),params),params));returnR.ok().put("data",page);}/***查詢*/@RequestMapping("/query")p

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論