tianwei před 3 roky
rodič
revize
8b077f5c29

+ 8 - 2
BaiAnXi/app/build.gradle

@@ -1,14 +1,20 @@
 apply plugin: 'com.android.application'
 
 android {
+
+    lintOptions {
+        checkReleaseBuilds false
+        abortOnError false
+    }
+
     compileSdkVersion 28
     buildToolsVersion "29.0.2"
     defaultConfig {
         applicationId "com.baianxi.safemanager"
         minSdkVersion 21
         targetSdkVersion 28
-        versionCode 2
-        versionName "1.0.2"
+        versionCode 3
+        versionName "1.0.3"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         //////////////JPUSH start///////////////
         ndk {

+ 1 - 1
BaiAnXi/app/src/main/java/com/baianxi/safemanager/MessageListActivity.java

@@ -171,7 +171,7 @@ public class MessageListActivity extends BaseActivity implements View.OnClickLis
      * "area": "巴州区",
      * "sender_user_id": "2",
      * "content": "消息内容",
-     * "attach": "http://baianxi.scxjc.club/upload/1594119738无标题.png",
+     * "attach": "http://www.baianxi.com/upload/1594119738无标题.png",
      * "receiver_names": null,
      * "sender_user_type": null,
      * "sender_user_name": "系统管理员",

+ 1 - 1
BaiAnXi/app/src/main/java/com/baianxi/safemanager/http/HttpBase.java

@@ -37,7 +37,7 @@ import okio.Source;
 
 public class HttpBase {
 
-    private static final String BASE_URL = "http://baianxi.scxjc.club";
+    private static final String BASE_URL = "http://www.baianxi.com";
 
     private OkHttpClient mOkHttpClient;
 

+ 2 - 2
BaiAnXi/app/src/main/java/com/baianxi/safemanager/http/UrlConfig.java

@@ -27,13 +27,13 @@ public class UrlConfig {
     /**
      * 测试服务器
      */
-    public static final String BASE_URL_DEBUG = "http://baianxi.scxjc.club";
+    public static final String BASE_URL_DEBUG = "http://www.baianxi.com";
 
     /**
      * 正式服务器
      */
 //    public static final String BASE_URL_RELEASE = "https://novel.juhe.im/";
-    public static final String BASE_URL_RELEASE = "http://baianxi.scxjc.club";
+    public static final String BASE_URL_RELEASE = "http://www.baianxi.com";
 
 }
 

+ 1 - 1
BaiAnXi/build.gradle

@@ -16,7 +16,7 @@ buildscript {
 
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:4.1.1'
+        classpath 'com.android.tools.build:gradle:4.2.0'
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files

+ 1 - 1
BaiAnXi/gradle/wrapper/gradle-wrapper.properties

@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip