app.js 433 B

12345678910111213141516171819202122232425
  1. // app.js
  2. const login = require("./utils/login.js");
  3. App({
  4. onLaunch() {
  5. // 登录
  6. login.autoLogin()
  7. },
  8. globalData: {
  9. userInfo: null,
  10. content: '',
  11. imgList: [],
  12. selectedTagList: [],
  13. env: {
  14. uploadImageUrl: 'https://toktok-beer.oss-cn-shenzhen.aliyuncs.com/',
  15. AccessKeySecret: '',
  16. OSSAccessKeyId: '',
  17. securityToken: '',
  18. timeout: 87600
  19. },
  20. adress_select: {}
  21. }
  22. })