Commit 8ce11a90 authored by maxiaoliang's avatar maxiaoliang

修改包名

parent 99bb0ac1
package com.zxbw.xxsq
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.zxbw.xxsq", appContext.packageName)
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.zxbw.xxsq"> package="com.zxhl.shop">
<!-- 权限声明 --> <!-- 权限声明 -->
<!-- 允许程序打开网络套接字 --> <!-- 允许程序打开网络套接字 -->
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 用于写入缓存数据到扩展存储卡 --> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 用于写入缓存数据到扩展存储卡 -->
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口--> <!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
<permission <permission
android:name="com.zxbw.xxsq.openadsdk.permission.TT_PANGOLIN" android:name="com.zxhl.shop.openadsdk.permission.TT_PANGOLIN"
android:protectionLevel="signature" /> android:protectionLevel="signature" />
<uses-permission android:name="com.zxbw.xxsq.openadsdk.permission.TT_PANGOLIN" /> <uses-permission android:name="com.zxhl.shop.openadsdk.permission.TT_PANGOLIN" />
<uses-sdk tools:overrideLibrary="com.bun.miitmdid" /> <uses-sdk tools:overrideLibrary="com.bun.miitmdid" />
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="main" android:host="main"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
......
package com.zxbw.xxsq package com.zxhl.shop
import android.app.Application import android.app.Application
import android.content.Intent
import android.text.TextUtils import android.text.TextUtils
import android.util.Log import android.util.Log
import com.tencent.bugly.crashreport.CrashReport import com.tencent.bugly.crashreport.CrashReport
......
package com.zxbw.xxsq.activity; package com.zxhl.shop.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
...@@ -16,7 +16,7 @@ import com.umeng.socialize.UMShareAPI; ...@@ -16,7 +16,7 @@ import com.umeng.socialize.UMShareAPI;
import com.zxbw.modulemain.fragment.HomeFragment; import com.zxbw.modulemain.fragment.HomeFragment;
import com.zxbw.modulemain.fragment.UserCenterFragment; import com.zxbw.modulemain.fragment.UserCenterFragment;
import com.zxbw.modulemain.view.NavigationBottomView; import com.zxbw.modulemain.view.NavigationBottomView;
import com.zxbw.xxsq.R; import com.zxhl.shop.R;
import com.zxhl.cms.AppContext; import com.zxhl.cms.AppContext;
import com.zxhl.cms.common.Constant; import com.zxhl.cms.common.Constant;
import com.zxhl.cms.common.base.BaseActivity; import com.zxhl.cms.common.base.BaseActivity;
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
<paths xmlns:android="http://schemas.android.com/apk/res/android"> <paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path <external-path
name="cache" name="cache"
path="Android/data/com.zxbw.xxsq/" /> path="Android/data/com.zxhl.shop/" />
<external-path <external-path
name="downloadfile" name="downloadfile"
path="com.zxbw.xxsq/" /> path="com.zxhl.shop/" />
<!--项目中用到的--> <!--项目中用到的-->
<external-path <external-path
name="beta_external_files_path" name="beta_external_files_path"
......
package com.zxbw.xxsq package com.zxhl.shop
import org.junit.Test import org.junit.Test
......
PACKAGE_NAME=com.zxbw.xxsq PACKAGE_NAME=com.zxhl.shop
VERSION_CODE=1 VERSION_CODE=8
VERSION_NAME=1.0.0 VERSION_NAME=1.0.7
\ No newline at end of file \ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="web" android:host="web"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="h5" android:host="h5"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="pay" android:host="pay"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
......
...@@ -13,7 +13,7 @@ public class Constant { ...@@ -13,7 +13,7 @@ public class Constant {
String s = "D0EV7FZL45A5DVKD"; String s = "D0EV7FZL45A5DVKD";
public static final String scheme = "xxsq"; public static final String scheme = "xxsqshop";
public static int UPLOADMAXSIZE = 50; public static int UPLOADMAXSIZE = 50;
...@@ -260,9 +260,9 @@ public class Constant { ...@@ -260,9 +260,9 @@ public class Constant {
public static class Param { public static class Param {
public static final String mPacketName = "com.zxbw.xxsq"; public static final String mPacketName = "com.zxhl.shop";
public static boolean isLocal = mPacketName.equals("com.zx.localnews"); public static boolean isLocal = mPacketName.equals("com.zx.localnews");
public static String APPLS = "8c39c8defd478ffd"; public static String APPLS = "5f758837834488be";
public static String androidId = ""; public static String androidId = "";
public static String carrier = ""; public static String carrier = "";
public static String h = ""; public static String h = "";
......
...@@ -104,7 +104,7 @@ object WeChatPay { ...@@ -104,7 +104,7 @@ object WeChatPay {
api = getIWXAPI() api = getIWXAPI()
} }
Log.d("PAY_GET", "api sendReq") Log.d("PAY_GET", "api sendReq")
var path:String="/pages/pay/index?token=" + entity?.token + "&pkg_name=com.zxbw.xxsq" var path:String="/pages/pay/index?token=" + entity?.token + "&pkg_name=com.zxhl.shop"
val req = WXLaunchMiniProgram.Req() val req = WXLaunchMiniProgram.Req()
val g = Gson() val g = Gson()
val obj: JsonObject = g.fromJson(entity?.payload, JsonObject::class.java) val obj: JsonObject = g.fromJson(entity?.payload, JsonObject::class.java)
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<data <data
android:host="splash" android:host="splash"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.LoginActivity"> <activity android:name=".activity.LoginActivity">
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<data <data
android:host="login" android:host="login"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.CardVoucherActivity"> <activity android:name=".activity.CardVoucherActivity">
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<data <data
android:host="cardvoucher" android:host="cardvoucher"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.CardDetailActivity"> <activity android:name=".activity.CardDetailActivity">
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<data <data
android:host="carddetail" android:host="carddetail"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.FlashSaleActivity"> <activity android:name=".activity.FlashSaleActivity">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<data <data
android:host="flashsale" android:host="flashsale"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.WithDrawalActivity"> <activity android:name=".activity.WithDrawalActivity">
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<data <data
android:host="withdrawal" android:host="withdrawal"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.SkillPayActivity"> <activity android:name=".activity.SkillPayActivity">
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<data <data
android:host="skillpay" android:host="skillpay"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.BuyMemberActivity"> <activity android:name=".activity.BuyMemberActivity">
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<data <data
android:host="buymember" android:host="buymember"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.CofigBugVipActivity"> <activity android:name=".activity.CofigBugVipActivity">
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<data <data
android:host="configbuyvip" android:host="configbuyvip"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.AbuoutUsActivity"> <activity android:name=".activity.AbuoutUsActivity">
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<data <data
android:host="abuoutus" android:host="abuoutus"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.RightsDetailActivity"> <activity android:name=".activity.RightsDetailActivity">
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<data <data
android:host="rights_detail" android:host="rights_detail"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<data <data
android:host="zero_buy" android:host="zero_buy"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<data <data
android:host="tb_goods_detail" android:host="tb_goods_detail"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
<data <data
android:host="goodsdetail" android:host="goodsdetail"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.MyOrderActivity"> <activity android:name=".activity.MyOrderActivity">
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
<data <data
android:host="myorder" android:host="myorder"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".box.activity.WareHouseActivity"> <activity android:name=".box.activity.WareHouseActivity">
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<data <data
android:host="warehouse" android:host="warehouse"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".box.activity.ReceiveAddressActivity"> <activity android:name=".box.activity.ReceiveAddressActivity">
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<data <data
android:host="receiveaddress" android:host="receiveaddress"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
<data <data
android:host="orderdetail" android:host="orderdetail"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
<data <data
android:host="topayskill" android:host="topayskill"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<data <data
android:host="setting" android:host="setting"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
<data <data
android:host="member_order" android:host="member_order"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
<data <data
android:host="open_member" android:host="open_member"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.ShopOrderActivity"> <activity android:name=".activity.ShopOrderActivity">
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
<data <data
android:host="shoporder" android:host="shoporder"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".box.activity.EditAddressActivity"> <activity android:name=".box.activity.EditAddressActivity">
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
<data <data
android:host="editaddress" android:host="editaddress"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".box.activity.OrderSuccessActivity"> <activity android:name=".box.activity.OrderSuccessActivity">
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
<data <data
android:host="ordersuccess" android:host="ordersuccess"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.SkillShopActivity"> <activity android:name=".activity.SkillShopActivity">
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<data <data
android:host="skillshop" android:host="skillshop"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".activity.PaySuccessActivity"> <activity android:name=".activity.PaySuccessActivity">
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
<data <data
android:host="paysucess" android:host="paysucess"
android:scheme="xxsq" /> android:scheme="xxsqshop" />
</intent-filter> </intent-filter>
</activity> </activity>
</application> </application>
......
include ':moduleMain' include ':moduleMain'
include ':cms' include ':cms'
include ':app' include ':app'
rootProject.name = "xxsq" rootProject.name = "xxsqshop"
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment