| @@ -141,12 +141,12 @@ android { | |||||
| buildTypes { | buildTypes { | ||||
| debug { | debug { | ||||
| buildConfigField "String", "API_HOST", "\"https://mall.youlane.cn/\"" | buildConfigField "String", "API_HOST", "\"https://mall.youlane.cn/\"" | ||||
| buildConfigField "String", "CODEPUSH_HOST", "\"http://mall.youlane.cn:3333/\"" | |||||
| buildConfigField "String", "CODEPUSH_HOST", "\"https://update.youlane.cn/\"" | |||||
| buildConfigField "String", "CODEPUSH_KEY", "\"8snO1yoHlvhEtBjr02zTr3g1comw4ksvOXqog\"" | buildConfigField "String", "CODEPUSH_KEY", "\"8snO1yoHlvhEtBjr02zTr3g1comw4ksvOXqog\"" | ||||
| } | } | ||||
| release { | release { | ||||
| buildConfigField "String", "API_HOST", "\"https://admintest.malls.iformall.com/\"" | buildConfigField "String", "API_HOST", "\"https://admintest.malls.iformall.com/\"" | ||||
| buildConfigField "String", "CODEPUSH_HOST", "\"http://mall.youlane.cn:3333/\"" | |||||
| buildConfigField "String", "CODEPUSH_HOST", "\"https://update.youlane.cn/\"" | |||||
| buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" | buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" | ||||
| minifyEnabled enableProguardInReleaseBuilds | minifyEnabled enableProguardInReleaseBuilds | ||||
| proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | ||||
| @@ -155,7 +155,7 @@ android { | |||||
| product.initWith(release) | product.initWith(release) | ||||
| product { | product { | ||||
| buildConfigField "String", "API_HOST", "\"https://admin.malls.iformall.com/\"" | buildConfigField "String", "API_HOST", "\"https://admin.malls.iformall.com/\"" | ||||
| buildConfigField "String", "CODEPUSH_HOST", "\"http://admin.malls.iformall.com:3333/\"" | |||||
| buildConfigField "String", "CODEPUSH_HOST", "\"https://update.malls.iformall.com/\"" | |||||
| buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" | buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" | ||||
| matchingFallbacks = ['product', 'release'] | matchingFallbacks = ['product', 'release'] | ||||
| } | } | ||||