Uninote
Uninote
用户根目录

powder 前端开发使用指南

接口问题一定优先从 powder 开始排查

http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210924_115529.mp4

  • 先看 powder 是否正常
  • 查看生成函数
    • 手动定位
    • network 面板堆栈定义(点击 powder_gene 上面的 func)

查看/搜索接口

https://docs.dajxyl.com/book/1/2943#130EAFD3BA

测试/对接接口

打开控制台

http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_152512.mp4

  • 输出全在控制台
  • 建议布局:xhr/console 同时查看
  • 查看参数、返回值、报错信息

初始化

参数配置 & 初始化接口调用:http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_151155.mp4

全量测试

对接前确认接口的正确性,避免浪费对接时间 http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_151859.mp4

手动实验

http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_154544.mp4

  • url参数会记录选择的模块和接口,可以发送(分享)给其他人

参数生成

http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_161457.mp4

参数生成 - 多种生成方式

http://video.dajxyl.com/video_play.html?video_url=https://admin.dajxyl.com/oss?path=video/upload/202109/20210921_162144.mp4

powder-change-log

powder-old

点赞(0) 阅读(1) 举报
目录
标题