Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
O
Open-Platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜宇森
Open-Platform
Commits
637ca3db
Commit
637ca3db
authored
Sep 27, 2021
by
UtopiaXC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🤡
样式
parent
02c26b72
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
367 additions
and
160 deletions
+367
-160
constants.php
config/System/constants.php
+3
-1
api_detail.blade.php
resources/views/api_detail.blade.php
+78
-107
api_list.blade.php
resources/views/api_list.blade.php
+10
-11
application.blade.php
resources/views/application.blade.php
+18
-35
doc_detail.blade.php
resources/views/doc_detail.blade.php
+161
-0
doc_list.blade.php
resources/views/doc_list.blade.php
+82
-0
page_header.blade.php
resources/views/root/page_header.blade.php
+7
-4
web.php
routes/web.php
+8
-2
No files found.
config/System/constants.php
View file @
637ca3db
...
...
@@ -10,10 +10,12 @@ class WebUrl {
const
ABOUT
=
'/about'
;
const
PRIVACY_POLICY
=
"/privacy_policy"
;
const
OPEN_SOURCE
=
'/open_source'
;
const
OPEN_KEY
=
'/open_key
'
;
const
APPLICATION
=
'/application
'
;
const
PREMIUM
=
'/premium'
;
const
API_LIST
=
'/api_list'
;
const
API_DETAIL
=
'/api_detail'
;
const
DOC_LIST
=
'/doc_list'
;
const
DOC_DETAIL
=
'/doc_detail'
;
}
class
ApiUrl
{
...
...
resources/views/api_detail.blade.php
View file @
637ca3db
...
...
@@ -9,124 +9,95 @@
@
section
(
'page_content'
)
<
div
class
="
row
">
<div class="
col
-
sm
-
12
col
-
md
-
2
">
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">
信息推送接口
</span>
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">
行业应用
</span>
<ul class="
list
-
unstyled
">
<li><a href="
{{
WebUrl
::
API_DETAIL
.
"/utopia_mps_email"
}}
"><i class="
far
fa
-
folder
"></i>邮件推送</a></li>
<li><a href="
#"><i class="far fa-clock"></i>钉钉推送</a></li>
<
li
><
a
href
=
"#"
><
i
class
="
fas
fa
-
tablet
-
alt
"></i>QQ推送</a></li>
<li><a href="
#"><i class="far fa-star"></i>微信推送</a></li>
<
li
><
a
href
=
"#"
><
i
class
="
far
fa
-
trash
-
alt
"></i>企业微信推送</a></li>
<li><a href="
#"><i class="far fa-trash-alt"></i>Telegram推送</a></li>
<li><a href="
{{
WebUrl
::
API_DETAIL
.
"/utopia_ia_mrl"
}}
">病历标注</a></li>
<li><a href="
#">医疗实体标注</a></li>
<
li
><
a
href
=
"#"
>
健康自检
</
a
></
li
>
<
li
><
a
href
=
"#"
>
诊疗推荐
</
a
></
li
>
<
li
><
a
href
=
"#"
>
AI问诊
</
a
></
li
>
</
ul
>
</
div
>
</
div
>
<
div
class
="
col
-
md
-
10
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
row
">
<div class="
col
-
sm
-
12
col
-
md
-
12
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
mail
-
header
">
<div class="
mail
-
title
">
<h4>邮件推送</h4>
<div class="
mail
-
header
">
<div class="
mail
-
title
">
<h4>病历标注</h4>
</div>
<div class="
mail
-
actions
">
<button type="
button
" class="
btn
btn
-
primary
"
onclick="
window
.
location
.
href
=
'{{WebUrl::DOC_DETAIL."/utopia_ia_mrl"}}'
">
接口文档
</button>
</div>
</div>
<p>tianyan.ia.mrl<br><br>
通过大量真实病历数据训练出的一套完整的可行的病历实体标注模型,整合数百万条医学辞典数据,精准标注每一条病历
<br>
<br>
</div>
<div class="
mail
-
actions
">
<button type="
button
" class="
btn
btn
-
primary
">Mock</button>
<button type="
button
" class="
btn
btn
-
primary
">接口状态</button>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">实时调用</h5>
</div>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">认证服务</h5>
<p>utopia.push.email<br><br>
通过高效企业级邮箱服务,毫秒级迅速响应发送邮件。
<br>
<br>
<h4>请求参数</h4>
<table class="
table
table
-
bordered
">
<thead>
<tr>
<th scope="
col
">名称</th>
<th scope="
col
">类型</th>
<th scope="
col
">是否必填</th>
<th scope="
col
">描述</th>
<th scope="
col
">示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>secure_key</td>
<td>字符串</td>
<td>是</td>
<td>动态生成的安全密钥,根据您的Open Key算出,请参考<a href="
#">SK计算方法</a></td>
<
td
>
b66dab580b71a7559f36eda8546c80e8
</
td
>
</
tr
>
<
tr
>
<
td
>
smtp_server
</
td
>
<
td
>
字符串
</
td
>
<
td
>
是
</
td
>
<
td
>
发信所用SMTP服务器
</
td
>
<
td
>
smtp
.
demo
.
com
</
td
>
</
tr
>
<
tr
>
<
td
>
email_user
</
td
>
<
td
>
字符串
</
td
>
<
td
>
是
</
td
>
<
td
>
您的邮箱账号
</
td
>
<
td
>
demo
@
demo
.
com
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
br
>
<
h4
>
请求示例
</
h4
>
<
pre
lang
=
"json"
>
{
"secure_key"
:
"b66dab580b71a7559f36eda8546c80e8"
,
"smtp_server"
:
"smtp.demo.com"
,
"email_user"
:
"demo@demo.com"
}
</
pre
>
<
br
>
<
h4
>
返回参数
</
h4
>
<
table
class
="
table
table
-
bordered
">
<thead>
<tr>
<th scope="
col
">名称</th>
<th scope="
col
">类型</th>
<th scope="
col
">描述</th>
<th scope="
col
">示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>整型</td>
<td>状态码:<br>
200:正常<br>
400001:参数非法或不全<br>
403001:SK不存在或不正确
</td>
<td>200</td>
</tr>
<tr>
<td>status</td>
<td>字符串</td>
<td>状态描述</td>
<td>success</td>
</tr>
<tr>
<td>data</td>
<td>JSON对象</td>
<td>返回实体,一般为空</td>
<td> </td>
</tr>
</tbody>
</table><br>
<h4>返回示例</h4>
<pre lang="
json
">
{
"
code
":200,
"
status
":"
success
",
"
data
":{}
}
</pre>
</div>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">历史调用</h5>
</div>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">API</h5>
</div>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">资源包</h5>
</div>
</div>
</div>
<div class="
col
-
sm
-
12
col
-
md
-
6
">
<div class="
card
stat
-
widget
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">鉴权方式</h5>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/api_list.blade.php
View file @
637ca3db
...
...
@@ -5,18 +5,17 @@
}
@
endphp
@
extends
(
'root.app'
)
@
section
(
'title'
)
-
Open
Key
@
endsection
@
section
(
'title'
)
-
API列表
@
endsection
@
section
(
'page_content'
)
<
div
class
="
row
">
<div class="
col
-
sm
-
12
col
-
md
-
2
">
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">
信息推送
接口</span>
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">
行业应用
接口</span>
<ul class="
list
-
unstyled
">
<li><a href="
{{
WebUrl
::
API_DETAIL
.
"/utopia_mps_email"
}}
"><i class="
far
fa
-
folder
"></i>邮件推送</a></li>
<li><a href="
#"><i class="far fa-clock"></i>钉钉推送</a></li>
<
li
><
a
href
=
"#"
><
i
class
="
fas
fa
-
tablet
-
alt
"></i>QQ推送</a></li>
<li><a href="
#"><i class="far fa-star"></i>微信推送</a></li>
<
li
><
a
href
=
"#"
><
i
class
="
far
fa
-
trash
-
alt
"></i>企业微信推送</a></li>
<li><a href="
#"><i class="far fa-trash-alt"></i>Telegram推送</a></li>
<li><a href="
{{
WebUrl
::
API_DETAIL
.
"/utopia_ia_mrl"
}}
">病历标注</a></li>
<li><a href="
#">医疗实体标注</a></li>
<
li
><
a
href
=
"#"
>
健康自检
</
a
></
li
>
<
li
><
a
href
=
"#"
>
诊疗推荐
</
a
></
li
>
<
li
><
a
href
=
"#"
>
AI问诊
</
a
></
li
>
</
ul
>
</
div
>
</
div
>
...
...
@@ -26,13 +25,13 @@
<div class="
open
-
email
-
content
">
<div class="
mail
-
header
">
<div class="
mail
-
title
">
<h4>
消息推送MPS
</h4>
<h4>
行业应用IA
</h4>
</div>
</div>
<div class="
mail
-
text
">
<p>
Utopia开放平台消息推送MPS(Message Push System)是一系列高效的聚合消息推送接口
。
<br>组标识:
utopia.mps
天衍健康开放平台行业应用IA(Industry Application)是一套完整的医疗行业信息化工具,提供了医疗行业所需的大量功能,为构建在线医疗提供帮助
。
<br>组标识:
tianyan.ia
</p><br>
</div>
...
...
resources/views/
open_key
.blade.php
→
resources/views/
application
.blade.php
View file @
637ca3db
...
...
@@ -5,20 +5,22 @@
}
@
endphp
@
extends
(
'root.app'
)
@
section
(
'title'
)
-
Open
Key
@
endsection
@
section
(
'title'
)
-
我的应用
@
endsection
@
section
(
'page_content'
)
<
div
class
="
row
">
<div class="
col
-
sm
-
12
col
-
xl
-
12
">
<div class="
card
">
<div class="
card
-
body
">
<h5 class="
card
-
title
">
Open Key
</h5>
<h5 class="
card
-
title
">
我的应用
</h5>
<button type="
button
" class="
btn
btn
-
primary
m
-
b
-
xs
" onclick="
create_open_id
()
">新增应用</button>
<table class="
table
">
<thead>
<tr>
<th scope="
col
">#</th>
<th scope="
col
">应用名</th>
<th scope="
col
">OpenKey</th>
<th scope="
col
">APP ID</th>
<th scope="
col
">应用领域</th>
<th scope="
col
">创建时间</th>
<th scope="
col
">操作</th>
</tr>
</thead>
...
...
@@ -26,7 +28,9 @@
<tr>
<th scope="
row
">1</th>
<td>个人地图</td>
<td><a href="
javascript
:
show_open_key
()
">点击查看</a></td>
<td>20210922-AXP2SW8S</td>
<td>其他/个人</td>
<td>2021-09-22 16:26:22</td>
<td>
<a href="
#"><i data-feather="x"></i></a>
</
td
>
...
...
@@ -34,7 +38,9 @@
<
tr
>
<
th
scope
=
"row"
>
2
</
th
>
<
td
>
通知推送
</
td
>
<
td
><
a
href
=
"javascript:show_open_key()"
>
点击查看
</
a
></
td
>
<
td
>
20210922
-
5
D5S5W88
</
td
>
<
td
>
IT互联网
/
医疗健康
</
td
>
<
td
>
2021
-
09
-
22
16
:
26
:
22
</
td
>
<
td
>
<
a
href
=
"#"
><
i
data
-
feather
=
"x"
></
i
></
a
>
</
td
>
...
...
@@ -42,7 +48,9 @@
<
tr
>
<
th
scope
=
"row"
>
3
</
th
>
<
td
>
测试接口
</
td
>
<
td
><
a
href
=
"javascript:show_open_key()"
>
点击查看
</
a
></
td
>
<
td
>
20210922
-
CAS56S79
</
td
>
<
td
>
机械自动化
/
工厂自动化
</
td
>
<
td
>
2021
-
09
-
22
16
:
26
:
22
</
td
>
<
td
>
<
a
href
=
"#"
><
i
data
-
feather
=
"x"
></
i
></
a
>
</
td
>
...
...
@@ -68,51 +76,26 @@
<label for="
add_app_name
" class="
form
-
label
">应用名</label>
<input type="
text
" class="
form
-
control
" id="
add_app_name
" aria-describedby="
emailHelp
">
</div>
</div>
<div class="
modal
-
footer
" style="
display
:
flex
;
justify
-
content
:
flex
-
end
">
<button type="
button
" class="
btn
btn
-
secondary
" data-bs-dismiss="
modal
">取消</button>
<button type="
button
" class="
btn
btn
-
primary
">新建</button>
</div>
</div>
</div>
</div>
<div class="
modal
fade
" id="
key_detail_dialog
" tabindex="
-
1
"
aria-labelledby="
key_detail
" aria-hidden="
true
">
<div class="
modal
-
dialog
">
<div class="
modal
-
content
">
<div class="
modal
-
header
">
<h5 class="
modal
-
title
">Open Key</h5>
</div>
<div class="
modal
-
body
">
<div class="
mb
-
3
">
<label for="
show_name
" class="
form
-
label
">应用名</label>
<input type="
text
" id="
show_name
" class="
form
-
control
" placeholder="
测试应用
" disabled>
</div>
<label for="
add_app_name
" class="
form
-
label
">应用领域</label>
<input type="
text
" class="
form
-
control
" id="
add_app_name
" aria-describedby="
emailHelp
">
<div class="
mb
-
3
">
<label for="
show_key
" class="
form
-
label
">Open Key</label>
<input type="
text
" id="
show_key
" class="
form
-
control
" placeholder="
f9b32683c80676a977cdbf62933eadba
" disabled>
</div>
</div>
<div class="
modal
-
footer
" style="
display
:
flex
;
justify
-
content
:
flex
-
end
">
<button type="
button
" class="
btn
btn
-
secondary
" data-bs-dismiss="
modal
">取消</button>
<button type="
button
" class="
btn
btn
-
primary
">
复制
</button>
<button type="
button
" class="
btn
btn
-
primary
">
新建
</button>
</div>
</div>
</div>
</div>
@endsection
@section('script')
<script>
function create_open_id(){
function create_open_id()
{
$("
#add_key_dialog").modal('show')
}
function
show_open_key
(){
$
(
"#key_detail_dialog"
)
.
modal
(
'show'
)
}
</
script
>
@
endsection
resources/views/doc_detail.blade.php
0 → 100644
View file @
637ca3db
@
php
$user_logged
=
app
(
'request'
)
->
get
(
HeaderKey
::
LOGIN_STATUS
);
if
(
!
$user_logged
){
redirect
(
WebUrl
::
LOGIN
);
}
@
endphp
@
extends
(
'root.app'
)
@
section
(
'title'
)
-
Open
Key
@
endsection
@
section
(
'page_content'
)
<
div
class
="
row
">
<div class="
col
-
sm
-
12
col
-
md
-
2
">
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">行业应用</span>
<ul class="
list
-
unstyled
">
<li><a href="
{{
WebUrl
::
DOC_DETAIL
.
"/utopia_ia_mrl"
}}
">病历标注</a></li>
<li><a href="
#">医疗实体标注</a></li>
<
li
><
a
href
=
"#"
>
健康自检
</
a
></
li
>
<
li
><
a
href
=
"#"
>
诊疗推荐
</
a
></
li
>
<
li
><
a
href
=
"#"
>
AI问诊
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">词法分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">分词</a></li>
<
li
><
a
href
=
"#"
>
词性标注
</
a
></
li
>
<
li
><
a
href
=
"#"
>
实体识别
</
a
></
li
>
<
li
><
a
href
=
"#"
>
中心词提取
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">句法分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">依存分析</a></li>
<
li
><
a
href
=
"#"
>
文本纠错
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">文章分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">文本摘要</a></li>
<
li
><
a
href
=
"#"
>
文章分类
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">语义分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">词向量</a></li>
<
li
><
a
href
=
"#"
>
文本相似度
</
a
></
li
>
</
ul
>
</
div
>
</
div
>
<
div
class
="
col
-
md
-
10
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
mail
-
header
">
<div class="
mail
-
title
">
<h4>病历标注</h4>
</div>
<div class="
mail
-
actions
">
<button type="
button
" class="
btn
btn
-
primary
">接口控制台</button>
<button type="
button
" class="
btn
btn
-
primary
">接口状态</button>
</div>
</div>
<p>tianyan.ia.mrl<br><br>
通过大量真实病历数据训练出的一套完整的可行的病历实体标注模型,整合数百万条医学辞典数据,精准标注每一条病历
<br>
<br>
<h4>请求参数</h4>
<table class="
table
table
-
bordered
">
<thead>
<tr>
<th scope="
col
">名称</th>
<th scope="
col
">类型</th>
<th scope="
col
">是否必填</th>
<th scope="
col
">描述</th>
<th scope="
col
">示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>secure_key</td>
<td>字符串</td>
<td>是</td>
<td>动态生成的安全密钥,根据您的Open Key算出,请参考<a href="
#">SK计算方法</a></td>
<
td
>
b66dab580b71a7559f36eda8546c80e8
</
td
>
</
tr
>
<
tr
>
<
td
>
smtp_server
</
td
>
<
td
>
字符串
</
td
>
<
td
>
是
</
td
>
<
td
>
发信所用SMTP服务器
</
td
>
<
td
>
smtp
.
demo
.
com
</
td
>
</
tr
>
<
tr
>
<
td
>
email_user
</
td
>
<
td
>
字符串
</
td
>
<
td
>
是
</
td
>
<
td
>
您的邮箱账号
</
td
>
<
td
>
demo
@
demo
.
com
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
br
>
<
h4
>
请求示例
</
h4
>
<
pre
lang
=
"json"
>
{
"secure_key"
:
"b66dab580b71a7559f36eda8546c80e8"
,
"smtp_server"
:
"smtp.demo.com"
,
"email_user"
:
"demo@demo.com"
}
</
pre
>
<
br
>
<
h4
>
返回参数
</
h4
>
<
table
class
="
table
table
-
bordered
">
<thead>
<tr>
<th scope="
col
">名称</th>
<th scope="
col
">类型</th>
<th scope="
col
">描述</th>
<th scope="
col
">示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>整型</td>
<td>状态码:<br>
200:正常<br>
400001:参数非法或不全<br>
403001:SK不存在或不正确
</td>
<td>200</td>
</tr>
<tr>
<td>status</td>
<td>字符串</td>
<td>状态描述</td>
<td>success</td>
</tr>
<tr>
<td>data</td>
<td>JSON对象</td>
<td>返回实体,一般为空</td>
<td></td>
</tr>
</tbody>
</table>
<br>
<h4>返回示例</h4>
<pre lang="
json
">
{
"
code
":200,
"
status
":"
success
",
"
data
":{}
}
</pre>
</div>
</div>
</div>
</div>
@endsection
resources/views/doc_list.blade.php
0 → 100644
View file @
637ca3db
@
php
$user_logged
=
app
(
'request'
)
->
get
(
HeaderKey
::
LOGIN_STATUS
);
if
(
!
$user_logged
){
redirect
(
WebUrl
::
LOGIN
);
}
@
endphp
@
extends
(
'root.app'
)
@
section
(
'title'
)
-
Open
Key
@
endsection
@
section
(
'page_content'
)
<
div
class
="
row
">
<div class="
col
-
sm
-
12
col
-
md
-
2
">
<div class="
file
-
manager
-
menu
"><span class="
fmm
-
title
">行业应用</span>
<ul class="
list
-
unstyled
">
<li><a href="
{{
WebUrl
::
DOC_DETAIL
.
"/utopia_ia_mrl"
}}
">病历标注</a></li>
<li><a href="
#">医疗实体标注</a></li>
<
li
><
a
href
=
"#"
>
健康自检
</
a
></
li
>
<
li
><
a
href
=
"#"
>
诊疗推荐
</
a
></
li
>
<
li
><
a
href
=
"#"
>
AI问诊
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">词法分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">分词</a></li>
<
li
><
a
href
=
"#"
>
词性标注
</
a
></
li
>
<
li
><
a
href
=
"#"
>
实体识别
</
a
></
li
>
<
li
><
a
href
=
"#"
>
中心词提取
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">句法分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">依存分析</a></li>
<
li
><
a
href
=
"#"
>
文本纠错
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">文章分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">文本摘要</a></li>
<
li
><
a
href
=
"#"
>
文章分类
</
a
></
li
>
</
ul
>
</
div
>
<
div
class
="
file
-
manager
-
menu
"><span class="
fmm
-
title
">语义分析</span>
<ul class="
list
-
unstyled
">
<li><a href="
#">词向量</a></li>
<
li
><
a
href
=
"#"
>
文本相似度
</
a
></
li
>
</
ul
>
</
div
>
</
div
>
<
div
class
="
col
-
sm
-
12
col
-
md
-
10
">
<div class="
card
">
<div class="
card
-
body
" id="
page_content
">
<div class="
open
-
email
-
content
">
<div class="
mail
-
header
">
<div class="
mail
-
title
">
<h4>天衍健康开放平台-接口文档</h4>
</div>
</div>
<div class="
mail
-
text
">
<p>
请选择左侧接口查看文档
</p><br>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('script')
<script>
</script>
@endsection
@section('style')
@endsection
resources/views/root/page_header.blade.php
View file @
637ca3db
...
...
@@ -69,20 +69,23 @@
<li class="
sidebar
-
title
">主页</li>
<li><a href="
/
"><i data-feather="
home
"></i>主页</a></li>
<li class="
sidebar
-
title
">个人</li>
<li><a href="
{{
WebUrl
::
OPEN_KEY
}}
"><i data-feather="
key
"></i>OpenKey
</a></li>
<li><a href="
{{
WebUrl
::
APPLICATION
}}
"><i data-feather="
key
"></i>我的应用
</a></li>
<li><a href=""><i data-feather="
pie
-
chart
"></i>接口用量</a></li>
<li><a href=""><i data-feather="
clipboard
"></i>调用历史</a></li>
<li><a href="
{{
WebUrl
::
PREMIUM
}}
"><i data-feather="
coffee
"></i>高级版</a></li>
<li class="
sidebar
-
title
">开放平台</li>
<li><a href=""><i data-feather="
code
"></i>API接口<i class="
fas
fa
-
chevron
-
right
dropdown
-
icon
"></i></a>
<ul class="">
<li><a href="
{{
WebUrl
::
API_LIST
.
"/utopia_mps"
}}
"><i class="
far
fa
-
circle
"></i>推送接口</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/utopia_gis"
}}
"><i class="
far
fa
-
circle
"></i>地图接口</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/tianyan_ia"
}}
"><i class="
far
fa
-
circle
"></i>行业应用</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/tianyan_nwa"
}}
"><i class="
far
fa
-
circle
"></i>词法分析</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/tianyan_nsa"
}}
"><i class="
far
fa
-
circle
"></i>句法分析</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/tianyan_npa"
}}
"><i class="
far
fa
-
circle
"></i>文章分析</a></li>
<li><a href="
{{
WebUrl
::
API_LIST
.
"/tianyan_nga"
}}
"><i class="
far
fa
-
circle
"></i>语义分析</a></li>
</ul>
</li>
<li><a href=""><i data-feather="
book
"></i>开发文档<i class="
fas
fa
-
chevron
-
right
dropdown
-
icon
"></i></a>
<ul class="">
<li><a href=""><i class="
far
fa
-
circle
"></i>接口说明</a></li>
<li><a href="
{{
WebUrl
::
DOC_LIST
.
"/utopia_mps"
}}
"><i class="
far
fa
-
circle
"></i>接口说明</a></li>
<li><a href=""><i class="
far
fa
-
circle
"></i>SDK使用文档</a></li>
</ul>
</li>
...
...
routes/web.php
View file @
637ca3db
...
...
@@ -36,8 +36,8 @@ Route::group(['prefix' => '/', 'middleware' => [Middleware::SITE_PROFILE_MIDDLEW
Route
::
get
(
WebUrl
::
OPEN_SOURCE
,
function
()
{
return
view
(
'open_source'
);
});
Route
::
get
(
WebUrl
::
OPEN_KEY
,
function
()
{
return
view
(
'
open_key
'
);
Route
::
get
(
WebUrl
::
APPLICATION
,
function
()
{
return
view
(
'
application
'
);
});
Route
::
get
(
WebUrl
::
PREMIUM
,
function
()
{
return
view
(
'premium'
);
...
...
@@ -48,4 +48,10 @@ Route::group(['prefix' => '/', 'middleware' => [Middleware::SITE_PROFILE_MIDDLEW
Route
::
get
(
WebUrl
::
API_DETAIL
.
"/
{
api_id
}
"
,
function
(
$api_id
){
return
view
(
'api_detail'
)
->
with
(
$api_id
);
});
Route
::
get
(
WebUrl
::
DOC_LIST
.
"/
{
group
}
"
,
function
(
$group
){
return
view
(
'doc_list'
)
->
with
(
$group
);
});
Route
::
get
(
WebUrl
::
DOC_DETAIL
.
"/
{
doc_id
}
"
,
function
(
$doc_id
){
return
view
(
'doc_detail'
)
->
with
(
$doc_id
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment