|
@@ -94,10 +94,10 @@ func CheckUserReportPermission(user *models.WxUserItem, productId int, report *m
|
|
|
checkInfo.Type = "apply"
|
|
|
}else if company.Status == utils.COMPANY_STATUS_FREEZE {
|
|
|
status = 2
|
|
|
- msg = "您还未开通权限,如有需要请联系对口销售"
|
|
|
+ msg = "您暂无权限查看报告 请联系对口销售——"
|
|
|
}else if company.IsSuspend > 0 && company.Status == "试用" { //如果客户产品被禁用了,只有在试用状态下,才不允许查看报告,那么没有权限
|
|
|
status = 2
|
|
|
- msg = "您还未开通权限,如有需要请联系对口销售"
|
|
|
+ msg = "您暂无权限查看报告 请联系对口销售——"
|
|
|
checkInfo.Status = "暂停试用"
|
|
|
}
|
|
|
checkInfo.CompanyName = company.CompanyName
|
|
@@ -115,7 +115,7 @@ func CheckUserReportPermission(user *models.WxUserItem, productId int, report *m
|
|
|
checkInfo.Name = adminInfo.RealName
|
|
|
checkInfo.Mobile = adminInfo.Mobile
|
|
|
if status == 2 && checkInfo.Type == "contact" {
|
|
|
- msg = "您还未开通权限,如有需要请联系对口销售"+sellerName
|
|
|
+ msg = "您暂无权限查看报告 请联系对口销售——"+sellerName
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -159,14 +159,14 @@ func CheckUserReportPermission(user *models.WxUserItem, productId int, report *m
|
|
|
tips = "有色"
|
|
|
}
|
|
|
if checkInfo.Type == "contact" {
|
|
|
- msg = "您还未开通" + tips + "权限,如有需要请联系对口销售 "+sellerName
|
|
|
+ msg = "您还未开通" + tips + "权限,如有需要请联系对口销售——"+sellerName
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}else{
|
|
|
status = 2
|
|
|
if checkInfo.Type == "contact" {
|
|
|
- msg = "您还未开通权限,如有需要请联系对口销售 " + sellerName
|
|
|
+ msg = "您暂无权限查看报告 请联系对口销售——" + sellerName
|
|
|
}
|
|
|
}
|
|
|
|