部署方式

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("/detail_:page",tmpl.PageDetail)
engine.GET("/login", tmpl.PageLogin) engine.GET("/login", tmpl.PageLogin)
engine.GET("/bind", tmpl.PageBind) 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("/main", middleware.JwtPageMiddleware, tmpl.PageMain)
engine.GET("/chat_main", middleware.JwtPageMiddleware,middleware.DomainLimitMiddleware, tmpl.PageChatMain) engine.GET("/chat_main", middleware.JwtPageMiddleware,middleware.DomainLimitMiddleware, tmpl.PageChatMain)
engine.GET("/setting",middleware.DomainLimitMiddleware, tmpl.PageSetting) engine.GET("/setting",middleware.DomainLimitMiddleware, tmpl.PageSetting)

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

Loading…
Cancel
Save