详情展示

WechatIMG125.png

  1. {
  2. "steps": [
  3. {
  4. "name": "mongoQuery",
  5. "table": "room",
  6. "db": "warehouse",
  7. "input": {
  8. "id": "id"
  9. }
  10. },
  11. {
  12. "name": "authority",
  13. "config": [
  14. {
  15. "role": "roomAgent",
  16. "steps": [
  17. {
  18. "name": "batchMappingValue",
  19. "output": {
  20. "price": "rentalPrice"
  21. }
  22. }
  23. ]
  24. },
  25. {
  26. "role": "default",
  27. "steps": [
  28. {
  29. "name": "batchMappingValue",
  30. "output": {
  31. "price": "priceRange"
  32. }
  33. }
  34. ]
  35. }
  36. ]
  37. }
  38. ]
  39. }

表单提交

image.png

  1. {
  2. "steps":[
  3. {
  4. "name":"mongoAdd",
  5. "table":"proxy_rent",
  6. "db":"warehouse",
  7. "output":{
  8. "expectType":"expectType",
  9. "phone":"phone",
  10. "expectDistrict":"expectDistrict",
  11. "name":"name",
  12. "expectArea":"expectArea",
  13. "valid":false
  14. }
  15. }
  16. ]
  17. }

状态更新

image.png

  1. {
  2. "steps":[
  3. {
  4. "name":"mongoUpdate",
  5. "table":"booking",
  6. "db":"warehouse",
  7. "input":{
  8. "id":"id"
  9. },
  10. "output":{
  11. "wantRent":"wantRent",
  12. "valid":"valid",
  13. "feedback":"feedback"
  14. }
  15. }
  16. ]
  17. }