12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. appname = voting
  2. httpport = 8080
  3. runmode = dev
  4. autorender = false
  5. copyrequestbody = true
  6. EnableDocs = true
  7. [wechat]
  8. appid =
  9. secret =
  10. token =
  11. aeskey =
  12. wxid =
  13. [alioss]
  14. Endpoint=oss-cn-shanghai.aliyuncs.com
  15. AccessKeyId=LTAIkc75dpkJw8Lb
  16. AccessKeySecret=v4bvXCaix6vSDTCFfwSAdqV53iFEQw
  17. Bucket=jingcheng-h5temp
  18. [cros]
  19. allowMode = dev
  20. allowMethods = *
  21. allowOrigin = http://localhost:9528
  22. allowCredentials = true
  23. [db]
  24. ; 数据库类型,目前只支持mysql
  25. db_type = mysql
  26. ; 连接协议
  27. con_protocol = tcp
  28. ; 数据库地址,可以使用IP
  29. db_addr = localhost
  30. # db_addr = rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com
  31. ; 端口
  32. db_port = 3306
  33. ; 用户名
  34. username = spaceofcheng
  35. ; 密码
  36. password = spaceofcheng
  37. # password = c;a|vK)Xv/=L@c[6Fx,v[ITD5;WpR}+Y
  38. ; 数据库名或者schema
  39. database = voting
  40. ; 前缀,目前尚未使用
  41. dbprefix =
  42. ; 模式,目前尚未使用
  43. db_debug = false
  44. ; 字符集
  45. char_set = utf8mb4