|
@@ -141,7 +141,7 @@ func (this *ActivitySignCoAntroller) Detail() {
|
|
detail.CompanyName = user.CompanyName
|
|
detail.CompanyName = user.CompanyName
|
|
|
|
|
|
//用于前端二次回显
|
|
//用于前端二次回显
|
|
- if user.RealName == "" {
|
|
|
|
|
|
+ if user.Mobile == "" {
|
|
pars = make([]interface{}, 0)
|
|
pars = make([]interface{}, 0)
|
|
condition = " AND open_id = ? AND activity_id = ? "
|
|
condition = " AND open_id = ? AND activity_id = ? "
|
|
pars = append(pars, user.OpenId, activityId)
|
|
pars = append(pars, user.OpenId, activityId)
|
|
@@ -156,6 +156,7 @@ func (this *ActivitySignCoAntroller) Detail() {
|
|
detail.Mobile = signinDetail.Mobile
|
|
detail.Mobile = signinDetail.Mobile
|
|
detail.RealName = signinDetail.RealName
|
|
detail.RealName = signinDetail.RealName
|
|
detail.CompanyName = signinDetail.CompanyName
|
|
detail.CompanyName = signinDetail.CompanyName
|
|
|
|
+ detail.IsNewUser = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
resp.Detail = detail
|
|
resp.Detail = detail
|