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"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.zxbw.xxsq">
package="com.zxhl.shop">
<!-- 权限声明 -->
<!-- 允许程序打开网络套接字 -->
......@@ -35,10 +35,10 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 用于写入缓存数据到扩展存储卡 -->
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
<permission
android:name="com.zxbw.xxsq.openadsdk.permission.TT_PANGOLIN"
android:name="com.zxhl.shop.openadsdk.permission.TT_PANGOLIN"
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" />
......@@ -63,7 +63,7 @@
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="main"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......
package com.zxbw.xxsq
package com.zxhl.shop
import android.app.Application
import android.content.Intent
import android.text.TextUtils
import android.util.Log
import com.tencent.bugly.crashreport.CrashReport
......
package com.zxbw.xxsq.activity;
package com.zxhl.shop.activity;
import android.annotation.SuppressLint;
import android.content.Intent;
......@@ -16,7 +16,7 @@ import com.umeng.socialize.UMShareAPI;
import com.zxbw.modulemain.fragment.HomeFragment;
import com.zxbw.modulemain.fragment.UserCenterFragment;
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.common.Constant;
import com.zxhl.cms.common.base.BaseActivity;
......
......@@ -2,11 +2,11 @@
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path
name="cache"
path="Android/data/com.zxbw.xxsq/" />
path="Android/data/com.zxhl.shop/" />
<external-path
name="downloadfile"
path="com.zxbw.xxsq/" />
path="com.zxhl.shop/" />
<!--项目中用到的-->
<external-path
name="beta_external_files_path"
......
package com.zxbw.xxsq
package com.zxhl.shop
import org.junit.Test
......
PACKAGE_NAME=com.zxbw.xxsq
VERSION_CODE=1
VERSION_NAME=1.0.0
\ No newline at end of file
PACKAGE_NAME=com.zxhl.shop
VERSION_CODE=8
VERSION_NAME=1.0.7
\ No newline at end of file
......@@ -9,7 +9,7 @@
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="web"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -19,7 +19,7 @@
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="h5"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -29,7 +29,7 @@
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="pay"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......
......@@ -13,7 +13,7 @@ public class Constant {
String s = "D0EV7FZL45A5DVKD";
public static final String scheme = "xxsq";
public static final String scheme = "xxsqshop";
public static int UPLOADMAXSIZE = 50;
......@@ -260,9 +260,9 @@ public class Constant {
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 String APPLS = "8c39c8defd478ffd";
public static String APPLS = "5f758837834488be";
public static String androidId = "";
public static String carrier = "";
public static String h = "";
......
......@@ -104,7 +104,7 @@ object WeChatPay {
api = getIWXAPI()
}
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 g = Gson()
val obj: JsonObject = g.fromJson(entity?.payload, JsonObject::class.java)
......
......@@ -21,7 +21,7 @@
<data
android:host="splash"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.LoginActivity">
......@@ -32,7 +32,7 @@
<data
android:host="login"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.CardVoucherActivity">
......@@ -43,7 +43,7 @@
<data
android:host="cardvoucher"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.CardDetailActivity">
......@@ -54,7 +54,7 @@
<data
android:host="carddetail"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.FlashSaleActivity">
......@@ -65,7 +65,7 @@
<data
android:host="flashsale"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.WithDrawalActivity">
......@@ -76,7 +76,7 @@
<data
android:host="withdrawal"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.SkillPayActivity">
......@@ -87,7 +87,7 @@
<data
android:host="skillpay"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.BuyMemberActivity">
......@@ -98,7 +98,7 @@
<data
android:host="buymember"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.CofigBugVipActivity">
......@@ -109,7 +109,7 @@
<data
android:host="configbuyvip"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.AbuoutUsActivity">
......@@ -120,7 +120,7 @@
<data
android:host="abuoutus"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.RightsDetailActivity">
......@@ -131,7 +131,7 @@
<data
android:host="rights_detail"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -143,7 +143,7 @@
<data
android:host="zero_buy"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -157,7 +157,7 @@
<data
android:host="tb_goods_detail"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -169,7 +169,7 @@
<data
android:host="goodsdetail"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.MyOrderActivity">
......@@ -180,7 +180,7 @@
<data
android:host="myorder"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".box.activity.WareHouseActivity">
......@@ -191,7 +191,7 @@
<data
android:host="warehouse"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".box.activity.ReceiveAddressActivity">
......@@ -202,7 +202,7 @@
<data
android:host="receiveaddress"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -214,7 +214,7 @@
<data
android:host="orderdetail"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -226,7 +226,7 @@
<data
android:host="topayskill"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -239,7 +239,7 @@
<data
android:host="setting"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -251,7 +251,7 @@
<data
android:host="member_order"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
......@@ -263,7 +263,7 @@
<data
android:host="open_member"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.ShopOrderActivity">
......@@ -274,7 +274,7 @@
<data
android:host="shoporder"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".box.activity.EditAddressActivity">
......@@ -285,7 +285,7 @@
<data
android:host="editaddress"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".box.activity.OrderSuccessActivity">
......@@ -296,7 +296,7 @@
<data
android:host="ordersuccess"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.SkillShopActivity">
......@@ -307,7 +307,7 @@
<data
android:host="skillshop"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
<activity android:name=".activity.PaySuccessActivity">
......@@ -318,7 +318,7 @@
<data
android:host="paysucess"
android:scheme="xxsq" />
android:scheme="xxsqshop" />
</intent-filter>
</activity>
</application>
......
include ':moduleMain'
include ':cms'
include ':app'
rootProject.name = "xxsq"
\ No newline at end of file
rootProject.name = "xxsqshop"
\ 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