uni-id-log.js 567 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // 校验规则由 schema 生成,请不要直接修改当前文件,如果需要请在uniCloud控制台修改schema
  2. // uniCloud: https://unicloud.dcloud.net.cn/
  3. export default {
  4. "user_name": {
  5. "rules": [
  6. {
  7. "format": "string"
  8. }
  9. ]
  10. },
  11. "content": {
  12. "rules": [
  13. {
  14. "required": true
  15. },
  16. {
  17. "format": "string"
  18. }
  19. ]
  20. },
  21. "ip": {
  22. "rules": [
  23. {
  24. "format": "string"
  25. }
  26. ]
  27. },
  28. "create_date": {
  29. "rules": [
  30. {
  31. "format": "timestamp"
  32. }
  33. ]
  34. }
  35. }