Skip to content

Commit

Permalink
🎉 add more prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jan 17, 2021
1 parent fbfc0f5 commit d36b3db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions routers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ router.get('/configure', userRequired, (req, res, next) => {
}
res.locals.message = req.flash('message');
res.locals.showPasswordWarning = showPasswordWarning;
res.locals.verifyUrl = config.href + req.session.user.prefix + '/verify';
res.render('configure', req.session.user);
});

Expand Down
6 changes: 4 additions & 2 deletions views/configure.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
<p>注意</p>
</div>
<div class="message-body">
如果遇到问题,请仔细阅读 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/blob/master/README.md">README</a>,如果还不能解决,请提 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/issues/new">issue</a>。
<a target="_blank" href="https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index">微信公众平台测试号配置链接</a>,如果遇到问题,请仔细阅读 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/blob/master/README.md">README</a>,如果还不能解决,请提 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/issues/new">issue</a>。
<br>
<br>
根据你在 config.js 中填写的 href 以及你的 prefix,你的接口验证 URL为:<%- verifyUrl %>
<br>
<a target="_blank" href="https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index">微信公众平台测试号配置链接</a>。
<br>
如果本项目对你有意义,<a target="_blank" href="https://github.com/songquanpeng/message-pusher">请 ⭐ 该项目</a>,<del>这是我继续维护的主要动力</del>,谢谢 :)。
</div>
Expand Down

0 comments on commit d36b3db

Please sign in to comment.