├── php-api/ # 改造后的PHP接口层 ├── java-ad-service/ # 若依框架微服务(广告+VIP+分账) ├── uniapp-reader/ # UniApp前端项目 │ ├── pages/ # 各端页面 │ └──
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 366B

123456789101112131415161718
  1. // vue.config.js
  2. const path = require('path');
  3. module.exports = {
  4. devServer: {
  5. proxy: {
  6. '/api': {
  7. target: 'http://localhost:8080',
  8. changeOrigin: true,
  9. pathRewrite: {
  10. '^/api': '' // 根据后端接口路径决定是否重写
  11. },
  12. secure: false,
  13. logLevel: 'debug' // 添加调试日志
  14. }
  15. }
  16. }
  17. }