diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 31b59f0e..00000000 --- a/manifest.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "name" : "pda_vue_3.0", - "appid" : "__UNI__027D175", - "description" : "应用描述", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - "app-plus" : { - "usingComponents" : true, - "nvueCompiler" : "uni-app", - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "nvueLaunchMode" : "fast", - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - "modules" : { - "OAuth" : {}, - "Payment" : {}, - "Push" : {}, - "Share" : {}, - "Speech" : {}, - "VideoPlayer" : {} - }, - "distribute" : { - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios" : { - "UIBackgroundModes" : [ "audio" ], - "urlschemewhitelist" : [ "baidumap", "iosamap" ] - }, - "sdkConfigs" : { - "speech" : { - "ifly" : {} - } - }, - "orientation" : [ "portrait-primary" ] - }, - "uniStatistics" : { - "enable" : true - } - }, - "quickapp" : {}, - "quickapp-native" : { - "icon" : "/static/logo.png", - "package" : "com.example.demo", - "features" : [ - { - "name" : "system.clipboard" - } - ] - }, - "quickapp-webview" : { - "icon" : "/static/logo.png", - "package" : "com.example.demo", - "minPlatformVersion" : 1070, - "versionName" : "1.0.0", - "versionCode" : 100 - }, - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true, - "permission" : { - "scope.userLocation" : { - "desc" : "演示定位能力" - } - }, - "uniStatistics" : { - "enable" : true - } - }, - "mp-alipay" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : true - } - }, - "mp-baidu" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : true - } - }, - "mp-toutiao" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : true - } - }, - "mp-jd" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : true - } - }, - "h5" : { - "router" : { - "mode" : "hash" - }, - "template" : "template.h5.html", - "sdkConfigs" : { - "maps" : {} - }, - "devServer" : { - "https" : false, - "proxy" : { - "/prod" : { - "target" : "http://dev.ccwin-in.com:59096/", - //"target": "http://127.0.0.1:4523/m1/1086659-0-default/", - "changeOrigin" : true, - "logLevel" : "debug", - "secure" : false, - "pathRewrite" : { - "^/prod" : "/" - } - }, - "/print" : { - "target" : "http://dev.ccwin-in.com:59095/", - "changeOrigin" : true, - "logLevel" : "debug", - "secure" : false, - "pathRewrite" : { - "^/print" : "/" - } - }, - "/pc" : { - "target" : "http://dev.ccwin-in.com:59097/", - "changeOrigin" : true, - "logLevel" : "debug", - "secure" : false, - "pathRewrite" : { - "^/pc" : "/" - } - } - }, - "port" : 8081 - } - }, - "vueVersion" : "3", - "mp-kuaishou" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-lark" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-qq" : { - "uniStatistics" : { - "enable" : true - } - }, - "quickapp-webview-huawei" : { - "uniStatistics" : { - "enable" : true - } - }, - "quickapp-webview-union" : { - "uniStatistics" : { - "enable" : true - } - }, - "uniStatistics" : { - "version" : "2", - "enable" : true - } -} diff --git a/passwors.txt b/password.txt similarity index 100% rename from passwors.txt rename to password.txt diff --git a/src/api/request2.js b/src/api/request2.js index 47c11795..d472a377 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -1,5 +1,6 @@ import request from './httpRequest3.js' import storage from '../common/utils/storage.js' +import config from '../static/config.js' // const baseApi = "/api/admin-api" //公司地址 // 本地地址 @@ -3584,7 +3585,7 @@ export function getFileList(tableName, tableId) { */ export function uploadFile(tableName, tableId, filePath, callBack) { var token = storage.getStorage(storage.constant.token) - var url = getApp().globalData.request_url + baseApi + var url = config.request_url + baseApi uni.uploadFile({ url: url + "/infra/file/upload?tableName=" + tableName + "&tableId=" + tableId, filePath: filePath, diff --git a/src/static/config.js b/src/static/config.js index d2bc8acf..09558eba 100644 --- a/src/static/config.js +++ b/src/static/config.js @@ -1,6 +1,6 @@ let request_url = "http://dev.ccwin-in.com:25100/api/admin-api" -let isDevelopment = true +let isDevelopment = false export default { request_url,