LLS战队高级软件工程第九次作业敏捷冲刺七
生活随笔
收集整理的這篇文章主要介紹了
LLS战队高级软件工程第九次作业敏捷冲刺七
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1、召開(kāi)沖刺會(huì)議
2、會(huì)議內(nèi)容:為提高觀眾的參與度,按照計(jì)劃增加彈幕功能
? ? ?任務(wù)分配:
宋非隊(duì)長(zhǎng):201810812006? ?負(fù)責(zé)前端與后端交互
羅建彪隊(duì)員:201810812005? ?掌握彈幕的實(shí)現(xiàn)原理與方法
羅遠(yuǎn)云隊(duì)員:201810775002? 進(jìn)行彈幕功能簡(jiǎn)單測(cè)試
3、燃盡圖:
4、實(shí)現(xiàn)難點(diǎn):彈幕功能雖有一定了解,但是都沒(méi)有真正接觸過(guò),通過(guò)請(qǐng)教已經(jīng)工作過(guò)的同學(xué),所謂彈幕功能其實(shí)就是一個(gè)前端Jquery插件
5、代碼記錄
https://git.coding.net/Ssl_dhlg18/SIMsystem.git
6.程序源碼:
package com.ms.action;import java.util.ArrayList; import java.util.List;import org.apache.struts2.ServletActionContext; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.Result; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier;import com.ms.model.Userform; import com.ms.model.Viewform; import com.ms.service.DanMuServiceI; import com.ms.utils.getPageUtil; import com.opensymphony.xwork2.ModelDriven;/*** @Description : 彈幕的Action實(shí)現(xiàn)* @author LLS**/ @SuppressWarnings("serial") public class DanMuAction extends BaseAction implements ModelDriven<Viewform>{@Autowired@Qualifier("viewService")private DanMuServiceI viewService;private Viewform view = new Viewform();private List<Viewform> list_views= new ArrayList<Viewform>();/*** @Description : 獲取最新彈幕* @author LLS**/@Action(value = "getViews" , results = {@Result(name = "success", type = "json",params = {"root","jsoMap"})})public String getViews(){jsoMap.put("msg", true);jsoMap.put("view", viewService.getDanMuContent());return "success";}/*** @Description : 增加一條彈幕* @author LLS**/@Action(value = "addView" , results = {@Result(name = "success", type = "json",params = {"root","jsoMap"})})public String addView(){String count = ServletActionContext.getRequest().getParameter("count");viewService.addDanMu(count);jsoMap.put("msg", 1);return "success";}@Overridepublic Viewform getModel() {return view;}public Viewform getView() {return view;}public void setView(Viewform view) {this.view = view;}public List<Viewform> getList_views() {return list_views;}public void setList_views(List<Viewform> list_views) {this.list_views = list_views;}}?
轉(zhuǎn)載于:https://www.cnblogs.com/luojianbiao/p/10120878.html
超強(qiáng)干貨來(lái)襲 云風(fēng)專訪:近40年碼齡,通宵達(dá)旦的技術(shù)人生總結(jié)
以上是生活随笔為你收集整理的LLS战队高级软件工程第九次作业敏捷冲刺七的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: tcp3次握手,https加密,ca认证
- 下一篇: Beta 冲刺 一