| | |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | Vue.prototype.$baseUrl = 'http://192.168.0.150:10010/'; |
| | | Vue.prototype.$baseUrl = 'api/'; |
| | | // Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/h5_api/'; |
| | | // Vue.prototype.$baseUrl = 'http://facepay.huasunsolar.com/web_interface/'; |
| | | // Vue.prototype.$baseUrl = 'http://218.23.218.228:8018/web_interface/' |
| | |
| | | "h5" : { |
| | | "router" : { |
| | | "mode" : "hash", |
| | | "base" : "/h5/" |
| | | } |
| | | "base" : "/" |
| | | // "base" : "/h5/" |
| | | }, |
| | | "devServer" : { |
| | | "port": 8090, |
| | | "proxy" : { |
| | | "/api" : { // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址 |
| | | "target" : "http://192.168.0.150:10010", // 代理服务器域名或IP地址 |
| | | "changeOrigin" : true, // 允许跨域 |
| | | "pathRewrite" : { |
| | | "^/api" : "" // 重写地址,如果实际接口中是不带/dev-api,需要将这个前缀置空,因为这个前缀只是为了识别用,识别完之后就没用了 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | "name": "支持分页Picker", |
| | | "version": "1.0", |
| | | "name": "图片裁剪 四角拖动 图片缩放移动", |
| | | "version": "1.0.0", |
| | | "lockfileVersion": 1, |
| | | "requires": true, |
| | | "dependencies": { |
| | | "qrcodejs2": { |
| | | "version": "0.0.2", |
| | | "resolved": "https://registry.npmmirror.com/qrcodejs2/-/qrcodejs2-0.0.2.tgz", |
| | | "integrity": "sha512-+Y4HA+cb6qUzdgvI3KML8GYpMFwB24dFwzMkS/yXq6hwtUGNUnZQdUnksrV1XGMc2mid5ROw5SAuY9XhI3ValA==" |
| | | }, |
| | | "uniapp-qrcode": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmmirror.com/uniapp-qrcode/-/uniapp-qrcode-1.0.2.tgz", |
| | | "integrity": "sha512-jcWwWz4yXsO7if/+78MMXj5VUdZTLu2D6L/IKb4mJkIw87oF11pO3WS/jS27SUcPCrX/BKcir5a2R1uvkaoR9g==" |
| | | }, |
| | | "uview-ui": { |
| | | "version": "2.0.36", |
| | | "resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.36.tgz", |
| | | "integrity": "sha512-ASSZT6M8w3GTO1eFPbsgEFV0U5UujK+8pTNr+MSUbRNcRMC1u63DDTLJVeArV91kWM0bfAexK3SK9pnTqF9TtA==" |
| | | "version": "2.0.37", |
| | | "resolved": "https://registry.npmmirror.com/uview-ui/-/uview-ui-2.0.37.tgz", |
| | | "integrity": "sha512-iBcWNmQa01Wr+z004G6XIVPDctOrJIAx7LObQceUAPxZh6kJYjIOAMp5JE1K4VpoMV5bKYDpCd0gmX+M4nTEQQ==" |
| | | } |
| | | } |
| | | } |
| | |
| | | "前端组件", |
| | | "通用组件" |
| | | ] |
| | | }, |
| | | "dependencies": { |
| | | "uniapp-qrcode": "^1.0.2", |
| | | "uview-ui": "^2.0.37" |
| | | } |
| | | } |
| | | } |
| | |
| | | public static FtpUtil ftp = null; |
| | | |
| | | @ApiOperation(value = "上传文件到FTP") |
| | | @RequestMapping(method= RequestMethod.POST,value="api/uploadFtp.do",headers = "content-type=multipart/form-data") |
| | | @RequestMapping(method= RequestMethod.POST,value="uploadFtp.do",headers = "content-type=multipart/form-data") |
| | | @ResponseBody |
| | | public void uploadFtp(HttpServletRequest request, HttpServletResponse response, String folderCode) throws Exception { |
| | | System.out.println("上传中"); |