部署方式

master
taoshihan 3 years ago
parent 466d19a1eb
commit 8ce776a00c

@ -13,7 +13,7 @@ func InitViewRouter(engine *gin.Engine) {
engine.GET("/detail_:page",tmpl.PageDetail)
engine.GET("/login", tmpl.PageLogin)
engine.GET("/bind", tmpl.PageBind)
engine.GET("/chatIndex",middleware.DomainLimitMiddleware,tmpl.PageChat)
engine.GET("/chatIndex",tmpl.PageChat)
engine.GET("/main", middleware.JwtPageMiddleware, tmpl.PageMain)
engine.GET("/chat_main", middleware.JwtPageMiddleware,middleware.DomainLimitMiddleware, tmpl.PageChatMain)
engine.GET("/setting",middleware.DomainLimitMiddleware, tmpl.PageSetting)

@ -13,11 +13,11 @@
effect="dark">
</el-alert>
<textarea style="width:100%;color:green;margin-top:10px;font-size:12px;height:290px;">
<script src="https://gofly.sopans.com/assets/js/gofly-front.js"></script>
<script src="https://自己域名/static/js/gofly-front.js"></script>
<script>
GOFLY.init({
GOFLY_URL:"https://gofly.sopans.com",
GOFLY_KEFU_ID: "kefu2",
GOFLY_URL:"https://自己域名",
GOFLY_KEFU_ID: "kefu1",
GOFLY_BTN_TEXT: "客服在线 欢迎咨询",
GOFLY_LANG:"cn"
})
@ -31,7 +31,7 @@
type="success"
effect="dark">
</el-alert>
<el-input style="margin-top:10px;" value="/chatIndex?kefu_id=[客服用户名]"></el-input>
<el-input style="margin-top:10px;" value="https://自己域名/chatIndex?kefu_id=kefu1"></el-input>
</el-tab-pane>
</el-tabs>
</el-main>

Loading…
Cancel
Save