Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
O2OA_plugin_demo
Overview
Overview
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
周田
O2OA_plugin_demo
Commits
c069c960
Commit
c069c960
authored
Dec 19, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: 介绍用法
parent
9440a9ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
README.md
o2oa-api2js/README.md
+16
-0
No files found.
o2oa-api2js/README.md
View file @
c069c960
# 使用方法
js 函数中 params 变量需要传一个对象,默认如下形式,下方有介绍
```
js
params
=
{
pathParameters
:
{},
queryParameters
:
{},
// 如果 contentType 为 multipart/form-data
data
:
new
FormData
(),
// 如果 contentType 为 multipart/json,就将 data 写成 json 形式就行,不需要考虑是不是 ins
data
:
{}
}
```
# 介绍
`describe.json`
文件中几个 parameters
键值对描述,以及在传参数时,需要以什么样的形式传入
...
...
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