|
@@ -91,7 +91,7 @@ func (this *ActivitySignCoAntroller) Detail() {
|
|
|
item.CountryCode = user.CountryCode
|
|
|
item.OpenId = user.OpenId
|
|
|
item.CreateTime = time.Now()
|
|
|
- if total == 0 && user.Mobile != "" || (applyCount > 0 && user.CompanyId > 1) {
|
|
|
+ if total == 0 && user.Mobile != "" && (applyCount > 0 || user.CompanyId > 1) {
|
|
|
err = models.AddCygxActivitySignin(item)
|
|
|
if err != nil {
|
|
|
br.Msg = "签到失败"
|