Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac4a758

Browse files
committed
wxpay99
1 parent c97c3d9 commit ac4a758

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

static/img/wxpay99.jpg

109 KB
Loading

template/topics/detail.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ <h1>
4949
<div style="font-size: 1.2em;">作者设置必须登录才能查看,<a href="/account/login?redirect_uri=/topics/{{.topic.tid}}">请登录</a>;如没有账号,<a href="/account/register">请注册</a></div>
5050
{{end}}
5151
{{else if eq .topic.permission 3}}
52-
{{if or .me.IsVip .me.IsRoot (eq .topic.uid .me.Uid)}}
53-
<div class="content">{{.topic.content}}</div>
54-
{{else}}
55-
<div style="font-size: 1.2em;">
56-
<p>作者设置付费用户才能查看,加入Go中文网创建的<a href="https://t.zsxq.com/BM72RZR" title="知识星球" target="_blank">知识星球</a>自动成为付费用户(加入后星球私信告知网站用户名)。</p>
57-
<img src="{{.static_domain}}/static/img/zsxq.jpg" alt="知识星球" class="img-responsive">
58-
<p>或者给我们转账成为付费用户,有效期一年,限时优惠:68元/年</p>
59-
<img src="{{.static_domain}}/static/img/wxpay68.jpg" alt="转账付费" class="img-responsive">
60-
</div>
61-
{{end}}
52+
{{if or .me.IsVip .me.IsRoot (eq .topic.uid .me.Uid)}}
53+
<div class="content">{{.topic.content}}</div>
54+
{{else}}
55+
<div style="font-size: 1.2em;">
56+
<p>作者设置付费用户才能查看,加入Go中文网创建的<a href="https://t.zsxq.com/BM72RZR" title="知识星球" target="_blank">知识星球</a>自动成为付费用户(加入后星球私信告知网站用户名)。</p>
57+
<img src="{{.static_domain}}/static/img/zsxq.jpg" alt="知识星球" class="img-responsive">
58+
<p>或者给我们转账成为付费用户,有效期一年,限时优惠:99元/年</p>
59+
<img src="{{.static_domain}}/static/img/wxpay99.jpg" alt="转账付费" class="img-responsive">
60+
</div>
61+
{{end}}
6262
{{else}}
6363
<div class="content">{{.topic.content}}</div>
6464
{{end}}

0 commit comments

Comments
 (0)