小货场 小程序
Go to file
admin 2df6a8b456 update: 待出库接口对接 2024-03-09 20:37:17 +08:00
src update: 待出库接口对接 2024-03-09 20:37:17 +08:00
.eslintrc-auto-import.json update: init 2024-03-04 15:10:11 +08:00
.eslintrc.js update: init 2024-03-04 15:10:11 +08:00
.gitignore update: init 2024-03-04 15:10:11 +08:00
index.html update: init 2024-03-04 15:10:11 +08:00
package.json update: 待出库接口对接 2024-03-09 20:37:17 +08:00
pnpm-lock.yaml update: 待出库接口对接 2024-03-09 20:37:17 +08:00
readme.md update: 待出库接口对接 2024-03-09 20:37:17 +08:00
shims-uni.d.ts update: init 2024-03-04 15:10:11 +08:00
tsconfig.json update: init 2024-03-04 15:10:11 +08:00
vite.config.ts update: init 2024-03-04 15:10:11 +08:00

readme.md

获取接口字段

let c = a.data[22].requestBody.jsonSchema.properties
for (let i = 0; i < Object.keys(c).length; i++) {
  console.log(Object.keys(c)[i], + ':',c[Object.keys(c)[i]].type + '; //' + c[Object.keys(c)[i]].description )
}