Scrum sprint Part III

We are the stability of the team, the players are temperature cure dry, Mo Shaoping governance, Huangsi Yang, Yu Chak end, Jianghai spirit

A meeting

1.1  27 stand-up meeting Photo:

 

 

 

1.2   yesterday completed things

 

team member

Today, plans to complete the task

Huang Siyang

Events Home Platform (front-end)

Mo Shaoping government

Activity Log page (front-end)

Yu Chak end

Log function (the back end)

Temperature cure dry

SMS verification code function (back-end)

Jianghai Ling

Log function test (test)

 

1.3   today plans to complete work

 

team member

Today SUMMARY

Huang Siyang

Activities Management page (front-end)

Mo Shaoping government

Improve the login feature (front-end)

Yu Chak end

Log maintenance and modification of functional status

Temperature cure dry

Log maintenance and modification of functional status

Jianghai Ling

Log function test (test)

 

1.4    problems encountered in the work

1) a front end portion

Huang Siyang:

When using sass to make global style control, according to a global variable when introducing online tutorials error

 

 

 The reason: a framework issiue go on github found a solution: using a method developed for document syntax specification is very strict, vue-cli4.0 scaffolding during installation has been integrated with sass, just configured cssloader in vue.config.js , corresponding .scss mapping file directory can be good without the main.js introduced (most online tutorial is introduced main.js)

 

 

2) the rear end portion

Yu Chak end: When the login module development, business logic cumbersome, led by a launch body, changes to the database tables, resulting in a lot of logic to be modified again

 

Second, the project follow-up

Burndown

 

 

 

 

 

 

 

Third, follow the code

 

3.1 Code check
(1) the front end portion:
(2) a rear end portion:

3.2 Issue check the contents of the corresponding link record
(1) the front end portion:
https://gitee.com/sixers/activityWall-Web/commits/master
(2) rear portion:
https://gitee.com/sixers/ActivityWall-Server/commits/master

Fourth, the appropriate project procedures / modules of the latest (run) Screenshot

 

 

The latest module of code 4.1

注:由于模块代码较多,因而以下选取一些作代表

4.11前端部分

1)package-lock.json

 

 1  if (this.$store.state.hasLogin) {
 2       this.$router.replace('/home')
 3     }
 4     axios.get('/getWxappCode').then(res => {
 5       if (res.status == 200) {
 6         if (res.data.result) {
 7           this.$data.codeImgUrl = res.data.url
 8           // 周期性判断扫码状态
 9           var t = setInterval((codeId) => {
10             axios.post('/getWxappCodeStatus', {
11               params: {
12                 'codeId': codeId
13               }
14             }).then(res => {
15               if (res.status == 200) {
16                 if (res.data.result) {
17                   switch(res.data.statusCode) {
18                     case 0:
19                       break;
20                     case 1:
21                       // 已经被扫码
22                       break;
23                     case 2:
24                       // 登录成功
25                       clearInterval(t)
26                       this.$store.commit('login', res.data.sessionId)
27                       this.$router.replace('/home');
28                       break;
29                     case 3:
30                       break;
31                   }
32                 }
33               }
34             })
35           }, 500, res.data.codeId);
36         }
37       }
38     }).catch((err, res) => {
39       console.log(err.response)
40     })
41   },
42   methods: {
43     onRegBtnTap: function() {
44       this.$router.push('/register')
45     }

 

2)src/views/register.vue

 

 1  <div class="pageContainer">
 2       <div class="headContent">
 3         <div class="left">
 4           <img class="logo" src="@/assets/logo.png" />
 5           <div class="text">开放平台</div>
 6         </div>
 7         <Button type="default" ghost @click="onLoginBtnTap">登录</Button>
 8       </div>
 9 
10       <div class="contentContainer">
11         <Steps :current="1" class="stepBar">
12           <Step title="注册" icon="ios-person"></Step>
13           <Step title="上传头像" icon="ios-camera"></Step>
14           <Step title="验证邮箱" icon="ios-mail"></Step>
15         </Steps>
16       </div>
17     </div>
18 
19     <div class="footer">
20       <div class="slogan">让再小的团队,也有自己的能量</div>
21       <p>Copyright © 2019 iGDUT. All Rights Reserved.</p>
22     </div>

 4.12后端部分

3)src/main/java/com/sixers/activitywall/ActivitywallApplication.java

 1 package com.sixers.bean.login;
 2 
 3 /**
 4  * Create by Allen
 5  * Date: 2019/11/27
 6  * Time: 21:18
 7  */
 8 public class InstitutionBean {
 9     private String name;
10     private String id;
11     private String logo; //头像地址
12 
13     public String getName() {
14         return name;
15     }
16 
17     public void setName(String name) {
18         this.name = name;
19     }
20 
21     public String getId() {
22         return id;
23     }
24 
25     public void setId(String id) {
26         this.id = id;
27     }
28 
29     public String getLogo() {
30         return logo;
31     }
32 
33     public void setLogo(String logo) {
34         this.logo = logo;
35     }
36 }

 

4)src/main/java/com/sixers/bean/wxcode/WxCodeInfoBean.java 0 → 100644

 1     public WxCodeInfoBean getCodeInfo(String codeId){
 2         PreparedStatement pstmt = null;
 3         Connection con = null;
 4         String sql;
 5         ResultSet rs;
 6         try {
 7             con = ConnectionPoolUtil.getConnection();  // 获取连接
 8             sql = "select stu_id,stu_name,inst_id from identifier where code_id = ?";
 9             pstmt = con.prepareStatement(sql); // 创建PreparedStatement
10             pstmt.setString(1, codeId);
11             rs = pstmt.executeQuery(); // 返回结果集ResultSet
12             if(rs.next()){
13                 WxCodeInfoBean bean = new WxCodeInfoBean();
14                 bean.setStuId(rs.getString("stu_id"));
15                 bean.setStuName(rs.getString("stu_name"));
16                 bean.setInstId(rs.getString("inst_id"));
17                 return bean;
18             }
19             return null;
20         } catch (SQLException e) {
21             e.printStackTrace();
22             return null;
23         } finally {
24             ConnectionPoolUtil.close(pstmt, con);
25         }
26     }
27 }

 

 

 

五、每日每人总结

黄思扬:在今天的任务开发中,大部分时间都花在了学习sass语法和脚手架引入sass的配置中。在实现全局样式的过程中,我也明白了官方文档才是第一正确答案,有bug应该第一时间找官方文档或者github issiue查找有没有类似的问题出现,而百度出来的解决方法不一定靠谱

余泽端:在开发单模块的时候,最后做到低耦合,高聚合,遵循开闭原则,这样进行扩展,不会牵一发而动全身

莫少政:

温治乾:

江海灵:

Guess you like

Origin www.cnblogs.com/1430559825qqcom/p/11946282.html