逐梦校友圈——β冲刺day2

这个作业属于哪个课程 <福州大学2021春软件工程实践S班>
这个作业要求在哪里 团队作业六——beta冲刺+事后诸葛亮
团队名称 逐梦校友圈
这个作业的目标 β每日冲刺文档

目录

SCRUM

成员描述

成员 昨日成就 存在问题 问题解决方案或描述 明日安排
语涵104 完成社区规范美化 (1h) 上传个人信息
建斌209 学习微信小程序开发 (2h) 时间 留给我学习的时间不多 学习小程序
茂基222 贴文详情分页获取数据 (2h) 凡尔赛时间 服务器有点快,一次取10个数据秒刷,我都不好测试加载中这个动画(凡尔赛了) 贴文搜索
炜华230 个人拉黑列表界面完成 (2h) 修复头像设置的bug
伟峰432 改了点小bug;新增创建组局时传入创建者openid(6h/8h) 开发文档阅读 微信官方文档给的使用案例大多难以让人明白用法,还得看度娘 继续改bug;完成组局权限判断
亮亮215 内容审核环境搭建(75min) sdk 阅读内容审核sdk文档存在滞后性,一些接口并不支持 内容审核工具类实现
海翔321 完成清空私聊列表service、controller层代码(30min) 完成删除私聊列表中的某一项service、controller层代码
小螃蟹411 完成了发布组局部分的bug修改;发现了获取我的组局的新bug(1.5h/2h) bug描述 用户没有登录的状态进行“获取我的组局”或者是“组局详情接口”时会直接报错 修改组局接口
丫比125 项目督促,博客园撰写(1h) 督促开发,博客园撰写

内容展示

  • 语涵104

完成issue1

完成issue2

.h1{
  margin-left: 5%;
  margin-top: 2.5%;
  font-size: 18px;
  font-weight:bold;
}

.h2{
  color:#505050;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 2%;
  font-size: 14px;
  line-height:150%;
}

.h3{
  color:#505050;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 14px;
  line-height:150%;
}
.h4{
  font-size: 18px;
  font-weight:bold;
}
.h5{
  margin-left: 3%;
  margin-right: 3%;
}
.h6{
  color:  #f2774d;
  font-size: 14px;
}
.answerer-wrp{
  width: 750rpx;
  height: 80%;
  background: #f0f0f0;
}
.answerer {
  margin-left: 4%;
  width: 630rpx;
  height: 80%;
  padding: 30rpx;
  background: #fff;
  border: solid 1px #ebebeb;
  border-radius: 3px;
  box-shadow: 0 1px 2px #bebebe;
}
  • 茂基222
 <scroll-view scroll-top="{{scrollTop}}" scroll-y="true" style="height:{{scrollHeight}}px;"
    class="list" bindscrolltolower="bindDownLoad" bindscroll="scroll"> 
            <v-post-item wx:for="{{postsData}}"  wx:key="key"
                eyeOnNum= "{{item.eyeOnNum}}"
                gmtCreate= "{{item.gmtCreate}}"
                imageUrls= "{{item.imageUrls}}"
                isEyeOn= "{{item.isEyeOn}}"
                isLike= "{{item.isLike}}"
                likeNum= "{{item.likeNum}}"
                message= "{{item.message}}"
                postId= "{{item.postId}}"
                postType= "{{item.postType}}"
                publisherId= "{{item.publisherId}}"
                pubulisherName= "{{item.pubulisherName}}"
                rewardNum= "{{item.rewardNum}}"
            >
            <-post-item>
    </scroll-view>
     <loading hidden="{{hidden}}" bindchange="loadingChange"> 
        加载中... 
    </loading>
  getPostsData(pageNum){
        let postsData = this.data.postsData;
        if(pageNum == 1)
        {
          postsData = [];
          this.setData({nowPage: 1});
        }
        let that = this;
        let baseUrl = app.globalData.baseUrl;
        let jsonStr = '{"pageSize": 10,"pageNum":' + pageNum + '}';
        console.log(pageNum);
        let jsonValue = JSON.parse(jsonStr);
        console.log(jsonValue);
        request({
          url:  baseUrl + '/api/posts/all',
          method:'POST',
          Headers: {
            'content-type': 'application/json'
          },
          data: jsonValue,
          success:function(res)
          {
            console.log(res);
            let midPostsData = res.data.data;
            if(midPostsData!= null){
              for(let i = 0; i < midPostsData.length; i++){
                midPostsData[i].gmtCreate = timeago.format(new Date(midPostsData[i].gmtCreate),'zh_CN');
                let midImageUrls = midPostsData[i].imageUrls;
                if(midPostsData[i].imageUrls != "" && midPostsData[i].imageUrls != null){
                  midPostsData[i].imageUrls = midPostsData[i].imageUrls.split(';');
                  if(midPostsData[i].imageUrls.length == 0)
                    midPostsData[i].imageUrls.push(midImageUrls);
                }
                //图片最终url
                for(let imageIndex = 0; imageIndex < midPostsData[i].imageUrls.length; imageIndex++){
                  midPostsData[i].imageUrls[imageIndex] = baseUrl + "/static/" + midPostsData[i].imageUrls[imageIndex];
                }
              }
              for(var m in midPostsData)
              {
                if(midPostsData[m] != undefined)
                {
                  postsData.push(midPostsData[m]);
                  that.setData({
                    postsData  
                  });
                }
              }
              //改变当前页数
              if(midPostsData.length != 0)
                that.setData({nowPage: pageNum});
            }
          },
          fail:function(res)
          {
            console.log(res);
          }
        });
    },

  //下拉刷新函数定义开始
  bindDownLoad: function () { 
      console.log("到底部了");
      let m = this.data.nowPage + 1;
      this.getPostsData(m);
    }, 
    //下拉刷新函数定义结束
    scroll: function (event) { 
    this.setData({ 
    scrollTop: event.detail.scrollTop 
    }); 
    },
  • 炜华230

完成issue1

完成issue2

<page>
    <view>
        <navigator class="item" wx:for="{{blackList}}" wx:key="{{index}}"
                   bindtouchstart="handleTouchStart"
                   bindtouchend="handleTouchEnd"
                   bindlongpress="handleLongPress"
                   bindtap="handleClick"
                   data-id="{{item.id}}">
        <view class="user" >
            <van-image round width="2.5rem" height="2.5rem" src="{{item.iconUrl}}"></van-image>
            <view class="nickname">{{item.nickName}}</view>
        </view>
        </navigator>
    </view>
</page>

<van-dialog id="van-dialog" />
  • 伟峰432
init:function() {
    wx.login({
        success: res => {
            wx.request({
                url: this.globalData.baseUrl + '/api/user/login',
                method: 'POST',
                data: res.code,
                success: res => {
                    wx.setStorage({
                        key: "openid",
                        data: res.data.data
                    })
                },
                fail:(err) => {
                    console.log('失败')
                }
            })
        }
    })
}
  • 亮亮215

完成issue

    <dependency>
      <groupId>com.huawei</groupId>
      <artifactId>java-sdk-core</artifactId>
      <version>3.0.9</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/java-sdk-core-3.0.9.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>com.huawei.ais</groupId>
      <artifactId>ais-java-client</artifactId>
      <version>2.0.1</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/ais-java-client-2.0.1.jar</systemPath>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
      <version>4.5.2</version>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpcore</artifactId>
      <version>4.4.1</version>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpmime</artifactId>
      <version>4.4.1</version>
    </dependency>

    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-core</artifactId>
      <version>2.10.0</version>
    </dependency>

    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>2.9.7</version>
    </dependency>

    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.4</version>
    </dependency>

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.2</version>
    </dependency>

    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.17</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.26</version>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.7.26</version>
    </dependency>

    <!-- for obs client -->
    <dependency>
      <groupId>com.huaweicloud</groupId>
      <artifactId>esdk-obs-java</artifactId>
      <version>3.19.5</version>
    </dependency>

    <dependency>
      <groupId>com.squareup.okhttp3</groupId>
      <artifactId>okhttp</artifactId>
      <version>3.10.0</version>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpasyncclient</artifactId>
      <version>4.1.2</version>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpcore-nio</artifactId>
      <version>4.4.4</version>
    </dependency>


    <dependency>
      <groupId>com.jamesmurty.utils</groupId>
      <artifactId>java-xmlbuilder</artifactId>
      <version>1.1</version>
      <exclusions>
        <exclusion>
          <groupId>net.iharder</groupId>
          <artifactId>base64</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <version>2.13.2</version>
    </dependency>
    <dependency>

      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api</artifactId>
      <version>2.13.2</version>
    </dependency>

    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>4.1.0</version>
    </dependency>
@PostMapping("/clearlist")

  public Result<Integer> clearList() {



    if (user == null) {

      Result<Integer> result = new Result<>();

      result.setCode(ExceptionInfo.valueOf("USER_NOT_LOGIN").getCode());

      result.setMessage(ExceptionInfo.valueOf("USER_NOT_LOGIN").getMessage());

      return result;

    }



    return privateChatService.clearList(user.getId());

  }
// 清空用户私聊列表

  public Result<Integer> clearList(Long id) {



    Result<Integer> result = new Result<>();



    QueryWrapper<PrivateChat> wrapper = new QueryWrapper<>();

    wrapper.eq("from_id", id);



    result.setCode(ExceptionInfo.valueOf("OK").getCode());

    result.setMessage(ExceptionInfo.valueOf("OK").getMessage());

    result.setData(privateChatMapper.delete(wrapper));

    return result;

  }
  • 小螃蟹411
@GetMapping("/myparty")
		  public Result<List<Map<String, Object>>> getMyparty() {
		    System.out.println(user.toString());
		    if (user == null) {
		      Result<List<Map<String, Object>>> result = new Result<>();
		      result.setCode(ExceptionInfo.valueOf("USER_NOT_LOGIN").getCode());
 @PostMapping("/join")
		  public Result<Integer> joinParty(@RequestParam Number partyId) {
		    System.out.println(user.toString());
		    if (user == null) {
		      Result<Integer> result = new Result<>();
	result.setCode(ExceptionInfo.valueOf("USER_NOT_LOGIN").getCode());

会议图片

逐梦校友圈——β冲刺day2

PM报告

工作总结

项目燃尽图

逐梦校友圈——β冲刺day2

任务总量变化

  • 按照总任务执行,没有issue数量的变化

最新项目截图

逐梦校友圈——β冲刺day2逐梦校友圈——β冲刺day2逐梦校友圈——β冲刺day2逐梦校友圈——β冲刺day2逐梦校友圈——β冲刺day2逐梦校友圈——β冲刺day2

上一篇:Beta冲刺-day2


下一篇:运行java实例5