@@ -51,7 +51,9 @@ func (this *ReportController) IsShow() {
if total > 0 {
resp.IsYanxuanSpecialAuthor = true
}
+ //resp.IsShowMobileAndEmailButton = true
resp.IsShowWxPay = utils.IS_SHOW_WX_PAY // 是否调取微信支付
+
resp.IsShow = true
br.Ret = 200
br.Success = true
@@ -306,8 +306,8 @@ func (this *WechatController) GetEmailCode() {
return
msgCode := utils.GetRandDigit(4)
- content := "尊敬的用户:</br>您好,感谢您使用弘则研究,您正在进行邮箱验证,本次请求的验证码为:" + msgCode + "(为了保障您账号的安全性,请在15分钟内完成验证。)</br>弘则研究团队 </br>2019年05月11日"
- title := "弘则研究登陆验证"
+ content := "尊敬的用户:</br>您好,感谢您使用买方研选,您正在进行邮箱验证,本次请求的验证码为:" + msgCode + "(为了保障您账号的安全性,请在15分钟内完成验证。)</br>买方研选团队 </br>2019年05月11日"
+ title := "买方研选登陆验证"
//发送邮件
result, err := utils.SendEmailByHz(title, content, email)
if err != nil {
@@ -371,10 +371,11 @@ func GetWhichDepartmentCount(condition string) (count int, err error) {
type IsShow struct {
- IsShow bool `description:"绝密内参按钮是否展示"`
- IsYanxuanSpecialAuthor bool `description:"绝密内参按钮是否展示"`
- LinkWxExplain string `description:"关注微信公众号链接说明地址"`
- IsShowWxPay bool `description:"是否展示微信支付"`
+ IsShow bool `description:"绝密内参按钮是否展示"`
+ IsYanxuanSpecialAuthor bool `description:"绝密内参按钮是否展示"`
+ LinkWxExplain string `description:"关注微信公众号链接说明地址"`
+ IsShowMobileAndEmailButton bool `description:"是否展示手机号跟邮箱按钮"`
+ IsShowWxPay bool `description:"是否展示微信支付"`
type SearchTxt struct {