日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

LLS战队高级软件工程第九次作业敏捷冲刺七

發(fā)布時(shí)間:2024/4/15 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。