Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
你丑我先上
unidocs-zh
提交
e6694a93
U
unidocs-zh
项目概览
你丑我先上
/
unidocs-zh
与 Fork 源项目一致
Fork自
DCloud / unidocs-zh
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e6694a93
编写于
8月 10, 2022
作者:
study夏羽
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
https://github.com/dcloudio/unidocs-zh
上级
649ea468
d64a9098
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
0 deletion
+3
-0
docs/uniCloud/svg/uni-open-bridge.svg
docs/uniCloud/svg/uni-open-bridge.svg
+1
-0
docs/uniCloud/uni-open-bridge.md
docs/uniCloud/uni-open-bridge.md
+2
-0
未找到文件。
docs/uniCloud/svg/uni-open-bridge.svg
0 → 100644
浏览文件 @
e6694a93
<?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"620"
height=
"286"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><source>
<![CDATA[Created with Raphaël 2.1.2uni-open-bridgeuniOpenBridgeuniOpenBridgeuniOpenBridgeCommonuniOpenBridgeCommon微信服务器微信服务器Redis和数据库Redis和数据库定时请求(1小时)获取 access_token返回 access_token]]>
</source><desc
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
Created with Raphaël 2.1.2
</desc><defs
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
><path
stroke-linecap=
"round"
d=
"M5,0 0,2.5 5,5z"
id=
"raphael-marker-block-obj258"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><marker
id=
"raphael-marker-endblock55-obj259"
markerHeight=
"5"
markerWidth=
"5"
orient=
"auto"
refX=
"2.5"
refY=
"2.5"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
><use
xlink:href=
"#raphael-marker-block-obj258"
transform=
"rotate(180 2.5 2.5) scale(1,1)"
stroke-width=
"1.0000"
fill=
"#000"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></use></marker><path
stroke-linecap=
"round"
d=
"M6,1 1,3.5 6,6"
id=
"raphael-marker-open-obj257"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><marker
id=
"raphael-marker-endopen77-obj260"
markerHeight=
"7"
markerWidth=
"7"
orient=
"auto"
refX=
"4"
refY=
"3.5"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
><use
xlink:href=
"#raphael-marker-open-obj257"
transform=
"rotate(180 3.5 3.5) scale(1,1)"
stroke-width=
"1.0000"
fill=
"none"
stroke=
"#000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></use></marker></defs><rect
x=
"10"
y=
"10"
width=
"130"
height=
"26"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"15"
y=
"15"
width=
"120"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"75"
y=
"23"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
uni-open-bridge
</tspan></text><rect
x=
"10"
y=
"46"
width=
"124"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"20"
y=
"56"
width=
"104"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"72"
y=
"64"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
uniOpenBridge
</tspan></text><rect
x=
"10"
y=
"230"
width=
"124"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"20"
y=
"240"
width=
"104"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"72"
y=
"248"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
uniOpenBridge
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M72,82L72,230"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"154"
y=
"46"
width=
"172"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"164"
y=
"56"
width=
"152"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"240"
y=
"64"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
uniOpenBridgeCommon
</tspan></text><rect
x=
"154"
y=
"230"
width=
"172"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"164"
y=
"240"
width=
"152"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"240"
y=
"248"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
uniOpenBridgeCommon
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M240,82L240,230"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"346"
y=
"46"
width=
"100"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"356"
y=
"56"
width=
"80"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"396"
y=
"64"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
微信服务器
</tspan></text><rect
x=
"346"
y=
"230"
width=
"100"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"356"
y=
"240"
width=
"80"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"396"
y=
"248"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
微信服务器
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M396,82L396,230"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"466"
y=
"46"
width=
"124"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"476"
y=
"56"
width=
"104"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"528"
y=
"64"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
Redis和数据库
</tspan></text><rect
x=
"466"
y=
"230"
width=
"124"
height=
"36"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"none"
stroke=
"#000000"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><rect
x=
"476"
y=
"240"
width=
"104"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"528"
y=
"248"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
Redis和数据库
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M528,82L528,230"
stroke-width=
"2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"96"
y=
"99"
width=
"120"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"156"
y=
"107"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
定时请求(1小时)
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M72,118C72,118,207.09250116348267,118,234.9949074096512,118"
stroke-width=
"2"
marker-end=
"url(#raphael-marker-endblock55-obj259)"
stroke-dasharray=
"0"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"250"
y=
"135"
width=
"136"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"318"
y=
"143"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
获取 access_token
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M240,154C240,154,364.35252928733826,154,391.00817399297375,154"
stroke-width=
"2"
marker-end=
"url(#raphael-marker-endblock55-obj259)"
stroke-dasharray=
"0"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"250"
y=
"171"
width=
"136"
height=
"16"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"318"
y=
"179"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"6"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
>
返回 access_token
</tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M396,190C396,190,260.1730127334595,190,242.00084744486958,190"
stroke-width=
"2"
marker-end=
"url(#raphael-marker-endopen77-obj260)"
stroke-dasharray=
"6,2"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path><rect
x=
"0"
y=
"0"
width=
"0"
height=
"0"
r=
"0"
rx=
"0"
ry=
"0"
fill=
"#ffffff"
stroke=
"none"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></rect><text
x=
"384"
y=
"215"
text-anchor=
"middle"
font=
"10px "Arial""
stroke=
"none"
fill=
"#000000"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font: 16px "Andale Mono", monospace;"
font-size=
"16px"
font-family=
"Andale Mono, monospace"
><tspan
dy=
"215"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></tspan></text><path
fill=
"none"
stroke=
"#000000"
d=
"M240,210C240,210,500.5616455078125,210,526.0071187019348,210"
stroke-width=
"2"
marker-end=
"url(#raphael-marker-endopen77-obj260)"
stroke-dasharray=
"0"
style=
"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
></path></svg>
\ No newline at end of file
docs/uniCloud/uni-open-bridge.md
浏览文件 @
e6694a93
...
...
@@ -18,6 +18,8 @@
uniCloud 用户应通过引入公共模块
`uni-open-bridge-commmon`
操作数据,非 uniCloud 用户通过 http 的方式
<img
src=
"/uniCloud/svg/uni-open-bridge.svg"
></img>
### uni-open-bridge 配置
配置文件需要依赖
`uni-config-center`
,在
`uni-config-center`
根目录添加文件夹
`uni-open-bridge`
, 新增
`config.json`
, 内容如下
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录