wangchuanjin 9 жил өмнө
parent
commit
80f9732495

+ 10 - 1
core/src/qfw/redpackage/redpackage_test.go

@@ -83,7 +83,7 @@ func Test_reissue(t *testing.T) {
 	billno := time.Now().Unix()
 	amount = 500
 	fmt.Println("billno=", billno, ",amount=", amount)
-	bm := qrpc.BonusMsg{Mchbillno: fmt.Sprint(billno),
+	/*bm := qrpc.BonusMsg{Mchbillno: fmt.Sprint(billno),
 		Sendname: coreconfig.RedPackage.Weixin["sendname"].(string),
 		//Reopenid:    "",
 		Totalamount: amount,
@@ -91,6 +91,15 @@ func Test_reissue(t *testing.T) {
 		Wishing:     "企明星幸运有奖",
 		Actname:     "企明星幸运有奖",
 		Remark:      "企明星幸运有奖",
+	}*/
+	bm := qrpc.BonusMsg{Mchbillno: fmt.Sprint(billno),
+		Sendname:    coreconfig.RedPackage.Weixin["sendname"].(string),
+		Reopenid:    "obEpLuCBTu_QlPJhLhJjuVXdwMzE",
+		Totalamount: amount,
+		Totalnum:    1,
+		Wishing:     "企明星新年大抽奖",
+		Actname:     "企明星新年大抽奖",
+		Remark:      "欢迎参加企明星新年大抽奖活动!",
 	}
 	coreutil.PayBonus(&bm)
 }

+ 8 - 8
core/src/web/templates/search/enterpriseList.html

@@ -86,15 +86,15 @@
 										{{ if eq (index $v "s_action") "01"}}
 											<span class="glyphicon qyrz   margin-l-10 jhtb"></span><span class="lineb " ><small>&nbsp;已认证企业&nbsp;</small></span>
 											{{ if $v.i_comauthenttype }}
-													{{ if eq $v.i_comauthenttype 2}}
-														<span class="glyphicon mprz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:5px;">名片认证</small></span>					
-													{{else if eq $v.i_comauthenttype 1}}
-														<span class="glyphicon yyzzrz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-left:3px;margin-right:5px;">营业执照认证</small></span>
-													{{else if eq $v.i_comauthenttype 3}}
-														<span class="glyphicon yjrz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:5px;">年报邮箱认证</small></span>
-													{{end}}
-											{{else}}
+												{{ if eq $v.i_comauthenttype 2}}
+													<span class="glyphicon mprz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:5px;">名片认证</small></span>					
+												{{else if eq $v.i_comauthenttype 1}}
 													<span class="glyphicon yyzzrz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-left:3px;margin-right:5px;">营业执照认证</small></span>
+												{{else if eq $v.i_comauthenttype 3}}
+													<span class="glyphicon yjrz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:5px;">年报邮箱认证</small></span>
+												{{end}}
+											{{else}}
+												<span class="glyphicon yyzzrz   margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-left:3px;margin-right:5px;">营业执照认证</small></span>
 											{{end}}
 										{{else if eq (index $v "s_action") "02"}}
 											<span class="glyphicon grrz   margin-l-10 jhtb"></span><span class="lineb " ><small> 已认证个人</small></span>

+ 1 - 1
core/src/web/templates/yellowpage/enterpriseinfo.html

@@ -36,7 +36,7 @@
 						{{if eq $identaction "01"}}
 						<script>entType="企业"</script>
 							<span class="glyphicon qyrz"></span>
-							已认证企业{{if .T.res.i_comauthenttype}}{{if eq .T.res.i_comauthenttype 2}}<font class="margin-lr-5">-</font><span class="glyphicon mprz"></span>名片认证{{else if eq .T.res.i_comauthenttype 1}}<font class="margin-lr-5">-</font><span class="glyphicon yyzzrz"></span>营业执照认证{{else if eq .T.res.i_comauthenttype 3}}<font class="margin-lr-5">-</font><span class="glyphicon yjrz"></span>年报邮箱认证{{end}}{{end}}
+							已认证企业{{if .T.res.i_comauthenttype}}{{if eq .T.res.i_comauthenttype 2}}<font class="margin-lr-5">-</font><span class="glyphicon mprz"></span>名片认证{{else if eq .T.res.i_comauthenttype 1}}<font class="margin-lr-5">-</font><span class="glyphicon yyzzrz"></span>营业执照认证{{else if eq .T.res.i_comauthenttype 3}}<font class="margin-lr-5">-</font><span class="glyphicon yjrz"></span>年报邮箱认证{{end}}{{else}}<font class="margin-lr-5">-</font><span class="glyphicon yyzzrz"></span>营业执照认证{{end}}
 						{{else if eq $identaction "02"}}
 						<script>entType="商家"</script>
 							<span class="glyphicon grrz"></span>已认证个人