api_notify_code.php 742 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. return [
  3. 'name' => '回调参数配置',
  4. 'order' => 'id asc',
  5. 'struct' => [
  6. 'api_id' => [
  7. 'name' => '接口id',
  8. 'type' => 'int(11)',
  9. ],
  10. 'key' => [
  11. 'name' => '状态码标识',
  12. 'type' => 'varchar(32)',
  13. ],
  14. 'value' => [
  15. 'name' => '状态码值',
  16. 'type' => 'varchar(150)',
  17. ],
  18. 'type' => [
  19. 'name' => '状态码类型',
  20. 'type' => 'tinyint(1)',
  21. 'default' => '1',
  22. 'value' => [
  23. 1 => '成功',
  24. 2 => '失败',
  25. 3 => '无状态',
  26. ],
  27. ],
  28. ],
  29. ];