Ver código fonte

Merge branch 'master' of http://git.shengws.com/zhangbj/sso

csx 5 anos atrás
pai
commit
5840f3e58d

+ 6 - 6
conf/app.conf Ver arquivo

@@ -1,6 +1,6 @@
1 1
 appname = 酷医
2 2
 httpport = 8091
3
-runmode = prod
3
+runmode = dev
4 4
 copyrequestbody = true
5 5
 
6 6
 is_sso_use_session_id_key = true
@@ -86,14 +86,14 @@ redisdb = 0
86 86
 # submodule_domain_dialysis_manage = "http://xt.kuyicloud.com"
87 87
 # submodule_domain_mall_manage = "http://mall.kuyicloud.com"
88 88
 # submodule_domain_cdm_manage = "http://cdm.kuyicloud.com"
89
-submodule_domain_patient_manage = "http://test1.sgjyun.com"
90
-submodule_domain_dialysis_manage = "http://xt.test.sgjyun.com"
91
-submodule_domain_mall_manage = "http://mall.test.sgjyun.com"
92
-submodule_domain_cdm_manage = "http://cdm.test.sgjyun.com"
89
+submodule_domain_patient_manage = "https://test1.sgjyun.com"
90
+submodule_domain_dialysis_manage = "https://xt.test.sgjyun.com"
91
+submodule_domain_mall_manage = "https://mall.test.sgjyun.com"
92
+submodule_domain_cdm_manage = "https://cdm.test.sgjyun.com"
93 93
 
94 94
 # httpdomain = http://sso.kuyicloud.com
95 95
 # cookie_rootdomain = ".kuyicloud.com"
96
-httpdomain = "http://testsso.sgjyun.com"
96
+httpdomain = "https://testsso.sgjyun.com"
97 97
 cookie_sso_domain = ".testsso.sgjyun.com"
98 98
 cookie_rootdomain = ".sgjyun.com"
99 99
 

+ 4 - 0
controllers/index_controller.go Ver arquivo

@@ -62,3 +62,7 @@ func (this *IndexController) CDMIndex() {
62 62
 func (this *IndexController) AboutUs() {
63 63
 	this.SetTpl("new_main/about.html")
64 64
 }
65
+
66
+func (this *IndexController) Help() {
67
+	this.SetTpl("new_main/help.html")
68
+}

+ 1 - 0
routers/router.go Ver arquivo

@@ -22,6 +22,7 @@ func init() {
22 22
 	beego.Router("/xt", &controllers.IndexController{}, "get:XTIndex")
23 23
 	beego.Router("/cdm", &controllers.IndexController{}, "get:CDMIndex")
24 24
 	beego.Router("/about", &controllers.IndexController{}, "get:AboutUs")
25
+	beego.Router("/help", &controllers.IndexController{}, "get:Help")
25 26
 
26 27
 	beego.Router("/login", &controllers.LoginController{}, "get:PwdLogin")
27 28
 	beego.Router("/login/submit", &controllers.LoginController{}, "post:PwdLoginSubmit")

+ 3 - 0
views/new_main/about.html Ver arquivo

@@ -58,6 +58,9 @@
58 58
                         <li>
59 59
                             <a href="/mmall">微商城</a>
60 60
                         </li>
61
+                        <li>
62
+                            <a href="/help">帮助中心</a>
63
+                        </li>
61 64
                         <li>
62 65
                             <a href="/about">关于我们</a>
63 66
                         </li>

+ 3 - 0
views/new_main/cdm_index.html Ver arquivo

@@ -48,6 +48,9 @@
48 48
                             <li><a href="/cdm">慢病管理</a></li>
49 49
                             <li><a href="/scrm">SCRM</a></li>
50 50
                             <li><a href="/mmall">微商城</a></li>
51
+                            <li>
52
+                                <a href="/help">帮助中心</a>
53
+                            </li>
51 54
                             <li><a href="/about">关于我们</a></li>
52 55
                         <!-- <li class="dropdown">
53 56
                             <a href="#" class="dropdown-toggle" data-toggle="dropdown">服务</a>

+ 177 - 0
views/new_main/help.html Ver arquivo

@@ -0,0 +1,177 @@
1
+<!DOCTYPE html>
2
+<html lang="zh">
3
+
4
+<head>
5
+    <meta name="keywords" content="酷医,酷医云,酷医聚客,病人关系管理,微信管理平台,肾病科宣,慢病管理云平台,SCRM,SPRM,血透管理,科室品牌推广">
6
+    <meta name="description" content="酷医云,是专为肾科和血透中心研发的免费血透管理平台,覆盖诊前、诊中、诊后全流程管理;为血透中心提供覆盖智能营销管理、血透管理、慢病管理、医患沟通、进销存管理以及商城管理等全流程一体化的管理平台。全国数百家血透中心信赖的选择。">
7
+    <meta charset="UTF-8">
8
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
10
+    <title>酷医云-慢病管理</title>
11
+    <link rel="stylesheet" href="/static/css/style.css?v=5.0.0" media="screen">
12
+    <link rel="stylesheet" href="/static/css/index.css?v=4.0.1" media="screen">
13
+    <link rel="stylesheet" href="/static/css/suspension.css">
14
+    <link href="/static/css/bootstrap.min.css?v=4.0.0" rel="stylesheet">
15
+    <link href="/static/css/font-awesome.min.css?v=4.0.0" rel="stylesheet" media="all">
16
+    <link href="/static/css/animate.min.css?v=4.0.0" rel="stylesheet" media="all">
17
+    <!-- Bootstrap bootstrap-touch-slider Slider Main Style Sheet -->
18
+    <link href="/static/css/bootstrap-touch-slider.css?v=4.0.0" rel="stylesheet" media="all">
19
+    <link href="/static/css/bootsnav.css?v=4.0.0" rel="stylesheet" media="all">
20
+    <link href="/static/css/zzsc-demo.css?v=4.0.0" rel="stylesheet" media="all">
21
+    <!-- 百度统计 -->
22
+    <script>
23
+        var _hmt = _hmt || [];
24
+        (function() {
25
+          var hm = document.createElement("script");
26
+          hm.src = "https://hm.baidu.com/hm.js?7577c975fa7ae685efd61deb009d1b5b";
27
+          var s = document.getElementsByTagName("script")[0]; 
28
+          s.parentNode.insertBefore(hm, s);
29
+        })();
30
+        </script>
31
+</head>
32
+
33
+<body>
34
+    <div class="phptpl-header">
35
+        <div class="header-container">
36
+            <a class="logo" href="/"></a>
37
+
38
+            <nav class="navbar navbar-default navbar-mobile bootsnav on">
39
+                <div class="navbar-header">
40
+                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">
41
+                        <i class="fa fa-bars"></i>
42
+                    </button>
43
+                </div>
44
+                <div class="collapse navbar-collapse" id="navbar-menu">
45
+                    <ul class="nav navbar-nav" data-in="fadeInDown" data-out="fadeOutUp">
46
+                        <li>
47
+                            <a href="/">首页</a>
48
+                        </li>
49
+                        <li>
50
+                            <a href="/xt">血透管理</a>
51
+                        </li>
52
+                        <li>
53
+                            <a href="/cdm">慢病管理</a>
54
+                        </li>
55
+                        <li>
56
+                            <a href="/scrm">SCRM</a>
57
+                        </li>
58
+                        <li>
59
+                            <a href="/mmall">微商城</a>
60
+                        </li>
61
+                        <li>
62
+                            <a href="/help">帮助中心</a>
63
+                        </li>
64
+                        <li>
65
+                            <a href="/about">关于我们</a>
66
+                        </li>
67
+                        <!-- <li class="dropdown">
68
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">服务</a>
69
+                            <ul class="dropdown-menu animated fadeOutUp" style="display: none; opacity: 1;">
70
+                                <li><a href="http://sso.kuyicloud.com/scrm">SCRM</a></li>
71
+                                <li><a href="http://sso.kuyicloud.com/mmall">微商城</a></li>
72
+                                <li><a href="http://sso.kuyicloud.com/xt">血透管理</a></li>
73
+                                <li><a href="http://sso.kuyicloud.com/cdm">慢病管理</a></li>
74
+                            </ul>
75
+                        </li> -->
76
+                    </ul>
77
+                </div>
78
+            </nav>
79
+
80
+            <ul class="nav-list">
81
+                <li class="last login_common_">
82
+                    <a class="btn-login" href="http://sso.kuyicloud.com/login">登录</a>
83
+                </li>
84
+                <li class="last register_common_">
85
+                    <a id="yz_register_" class="btn-register_" href="http://sso.kuyicloud.com/register">注册</a>
86
+                </li>
87
+            </ul>
88
+        </div>
89
+    </div>
90
+
91
+    <!-- scrm -->
92
+    <div class="intro-main">
93
+        <iframe frameborder= "0"  id="mainIframe"   name="mainIframe" height="700px" width="100%" srcolling = "auto" src="https://help.kuyicloud.com/web/#/1"></iframe>
94
+    </div>
95
+    <!-- scrm end-->
96
+
97
+    <!-- 右侧悬浮菜单开始 -->
98
+    <div class="suspension">
99
+        <div class="suspension-box">
100
+            <a href="#" class="a a-service ">
101
+                <i class="i"></i>
102
+            </a>
103
+            <a href="javascript:;" class="a a-service-phone ">
104
+                <i class="i"></i>
105
+            </a>
106
+            <a href="javascript:;" class="a a-qrcode">
107
+                <i class="i"></i>
108
+            </a>
109
+            <a href="javascript:;" class="a a-top">
110
+                <i class="i"></i>
111
+            </a>
112
+            <!-- <div class="d d-service" style="display:none;">
113
+                <i class="arrow"></i>
114
+                <div class="inner-box">
115
+                    <div class="d-service-item clearfix">
116
+                        <a href="#" class="clearfix">
117
+                            <h3>咨询在线客服</h3>
118
+                        </a>
119
+                    </div>
120
+                </div>
121
+            </div> -->
122
+            <div class="d d-service-phone">
123
+                <i class="arrow"></i>
124
+                <div class="inner-box" style="width:200px;">
125
+                    <div class="d-service-item clearfix">
126
+                        <span class="circle">
127
+                            <i class="i-tel"></i>
128
+                        </span>
129
+                        <div class="text">
130
+                            <p>服务热线</p>
131
+                            <p class=" number">0755-86526342</p>
132
+                        </div>
133
+                    </div>
134
+                </div>
135
+            </div>
136
+            <div class="d d-qrcode">
137
+                <i class="arrow"></i>
138
+                <div class="inner-box">
139
+                    <div class="qrcode-img">
140
+                        <img src="/static/images/side_ewm.png" alt="">
141
+                    </div>
142
+                    <p>微信服务号</p>
143
+                </div>
144
+                <div class="inner-box">
145
+                    <div class="qrcode-img">
146
+                        <img src="/static/images/kefu.jpg" alt="">
147
+                        <p>微信客服号</p>
148
+                    </div>
149
+                </div>
150
+            </div>
151
+        </div>
152
+        <!-- 右侧悬浮菜单结束 -->
153
+    </div>
154
+
155
+        <script src="/static/js/jquery-1.11.0.min.js" type="text/javascript"></script>
156
+        <script src="/static/js/bootstrap.min.js"></script>
157
+        <script src="/static/js/jquery.touchSwipe.min.js"></script>
158
+        <script src="/static/js/bootstrap-touch-slider.js"></script>
159
+        <script src="/static/js/bootsnav.js"></script>
160
+        <script src="/static/js/suspension.js"></script>
161
+        <script type="text/javascript">
162
+            $('#bootstrap-touch-slider').bsTouchSlider();
163
+            $(function(){
164
+                //取到窗口的高度 
165
+                var winH = $(window).height() -71; 
166
+                //取到页面的高度 
167
+                var bodyH = $(document).height() -71; 
168
+                if(bodyH > winH){ 
169
+                    window.parent.document.getElementById("mainIframe").height=bodyH; 
170
+                }else{ 
171
+                    window.parent.document.getElementById("mainIframe").height=winH; 
172
+                } 
173
+            });
174
+        </script>
175
+</body>
176
+
177
+</html>

+ 3 - 0
views/new_main/index.html Ver arquivo

@@ -48,6 +48,9 @@
48 48
                         <li><a href="/cdm">慢病管理</a></li>
49 49
                         <li><a href="/scrm">SCRM</a></li>
50 50
                         <li><a href="/mmall">微商城</a></li>
51
+                        <li>
52
+                            <a href="/help">帮助中心</a>
53
+                        </li>
51 54
                         <li><a href="/about">关于我们</a></li>
52 55
                        
53 56
                     </ul>

+ 3 - 0
views/new_main/mircomall_index.html Ver arquivo

@@ -48,6 +48,9 @@
48 48
                             <li><a href="/cdm">慢病管理</a></li>
49 49
                             <li><a href="/scrm">SCRM</a></li>
50 50
                             <li><a href="/mmall">微商城</a></li>
51
+                            <li>
52
+                                <a href="/help">帮助中心</a>
53
+                            </li>
51 54
                             <li><a href="/about">关于我们</a></li>
52 55
                         <!-- <li class="dropdown">
53 56
                             <a href="#" class="dropdown-toggle" data-toggle="dropdown">服务</a>

+ 3 - 0
views/new_main/scrm_index.html Ver arquivo

@@ -48,6 +48,9 @@
48 48
                             <li><a href="/cdm">慢病管理</a></li>
49 49
                             <li><a href="/scrm">SCRM</a></li>
50 50
                             <li><a href="/mmall">微商城</a></li>
51
+                            <li>
52
+                                <a href="/help">帮助中心</a>
53
+                            </li>
51 54
                             <li><a href="/about">关于我们</a></li>
52 55
                         <!-- <li class="dropdown">
53 56
                             <a href="#" class="dropdown-toggle" data-toggle="dropdown">服务</a>

+ 1 - 0
views/new_main/xt_index.html Ver arquivo

@@ -48,6 +48,7 @@
48 48
                             <li><a href="/cdm">慢病管理</a></li>
49 49
                             <li><a href="/scrm">SCRM</a></li>
50 50
                             <li><a href="/mmall">微商城</a></li>
51
+                            <li><a href="/help">帮助中心</a></li>
51 52
                             <li><a href="/about">关于我们</a></li>
52 53
                         <!-- <li class="dropdown">
53 54
                             <a href="#" class="dropdown-toggle" data-toggle="dropdown">服务</a>