Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
8ce11a90
Commit
8ce11a90
authored
Jun 06, 2022
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改包名
parent
99bb0ac1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
49 additions
and
74 deletions
+49
-74
ExampleInstrumentedTest.kt
...androidTest/java/com/zxbw/xxsq/ExampleInstrumentedTest.kt
+0
-24
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+4
-4
AppFrontBackHelper.java
app/src/main/java/com/zxhl/shop/AppFrontBackHelper.java
+1
-1
Appli.kt
app/src/main/java/com/zxhl/shop/Appli.kt
+1
-2
MainActivity.java
app/src/main/java/com/zxhl/shop/activity/MainActivity.java
+2
-2
file_paths.xml
app/src/main/res/xml/file_paths.xml
+2
-2
ExampleUnitTest.kt
app/src/test/java/com/zxbw/xxsq/ExampleUnitTest.kt
+1
-1
version.properties
app/version.properties
+3
-3
AndroidManifest.xml
cms/src/main/AndroidManifest.xml
+3
-3
Constant.java
cms/src/main/java/com/zxhl/cms/common/Constant.java
+3
-3
WeChatPay.kt
cms/src/main/java/com/zxhl/cms/utils/WeChatPay.kt
+1
-1
AndroidManifest.xml
moduleMain/src/main/AndroidManifest.xml
+27
-27
settings.gradle
settings.gradle
+1
-1
No files found.
app/src/androidTest/java/com/zxbw/xxsq/ExampleInstrumentedTest.kt
deleted
100644 → 0
View file @
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
app/src/main/AndroidManifest.xml
View file @
8ce11a90
<?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.zx
bw.xxsq
"
>
package=
"com.zx
hl.shop
"
>
<!-- 权限声明 -->
<!-- 允许程序打开网络套接字 -->
...
...
@@ -35,10 +35,10 @@
<uses-permission
android:name=
"android.permission.READ_PHONE_STATE"
/>
<!-- 用于写入缓存数据到扩展存储卡 -->
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
<permission
android:name=
"com.zx
bw.xxsq
.openadsdk.permission.TT_PANGOLIN"
android:name=
"com.zx
hl.shop
.openadsdk.permission.TT_PANGOLIN"
android:protectionLevel=
"signature"
/>
<uses-permission
android:name=
"com.zx
bw.xxsq
.openadsdk.permission.TT_PANGOLIN"
/>
<uses-permission
android:name=
"com.zx
hl.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=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
app/src/main/java/com/zx
bw/xxsq
/AppFrontBackHelper.java
→
app/src/main/java/com/zx
hl/shop
/AppFrontBackHelper.java
View file @
8ce11a90
package
com
.
zx
bw
.
xxsq
;
package
com
.
zx
hl
.
shop
;
...
...
app/src/main/java/com/zx
bw/xxsq
/Appli.kt
→
app/src/main/java/com/zx
hl/shop
/Appli.kt
View file @
8ce11a90
package
com.zx
bw.xxsq
package
com.zx
hl.shop
import
android.app.Application
import
android.content.Intent
import
android.text.TextUtils
import
android.util.Log
import
com.tencent.bugly.crashreport.CrashReport
...
...
app/src/main/java/com/zx
bw/xxsq
/activity/MainActivity.java
→
app/src/main/java/com/zx
hl/shop
/activity/MainActivity.java
View file @
8ce11a90
package
com
.
zx
bw
.
xxsq
.
activity
;
package
com
.
zx
hl
.
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.zx
bw.xxsq
.R
;
import
com.zx
hl.shop
.R
;
import
com.zxhl.cms.AppContext
;
import
com.zxhl.cms.common.Constant
;
import
com.zxhl.cms.common.base.BaseActivity
;
...
...
app/src/main/res/xml/file_paths.xml
View file @
8ce11a90
...
...
@@ -2,11 +2,11 @@
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<external-path
name=
"cache"
path=
"Android/data/com.zx
bw.xxsq
/"
/>
path=
"Android/data/com.zx
hl.shop
/"
/>
<external-path
name=
"downloadfile"
path=
"com.zx
bw.xxsq
/"
/>
path=
"com.zx
hl.shop
/"
/>
<!--项目中用到的-->
<external-path
name=
"beta_external_files_path"
...
...
app/src/test/java/com/zxbw/xxsq/ExampleUnitTest.kt
View file @
8ce11a90
package
com.zx
bw.xxsq
package
com.zx
hl.shop
import
org.junit.Test
...
...
app/version.properties
View file @
8ce11a90
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
cms/src/main/AndroidManifest.xml
View file @
8ce11a90
...
...
@@ -9,7 +9,7 @@
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
android:host=
"web"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -19,7 +19,7 @@
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
android:host=
"h5"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -29,7 +29,7 @@
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
android:host=
"pay"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
cms/src/main/java/com/zxhl/cms/common/Constant.java
View file @
8ce11a90
...
...
@@ -13,7 +13,7 @@ public class Constant {
String
s
=
"D0EV7FZL45A5DVKD"
;
public
static
final
String
scheme
=
"xxsq"
;
public
static
final
String
scheme
=
"xxsq
shop
"
;
public
static
int
UPLOADMAXSIZE
=
50
;
...
...
@@ -260,9 +260,9 @@ public class Constant {
public
static
class
Param
{
public
static
final
String
mPacketName
=
"com.zx
bw.xxsq
"
;
public
static
final
String
mPacketName
=
"com.zx
hl.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
=
""
;
...
...
cms/src/main/java/com/zxhl/cms/utils/WeChatPay.kt
View file @
8ce11a90
...
...
@@ -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.zx
bw.xxsq
"
var
path
:
String
=
"/pages/pay/index?token="
+
entity
?.
token
+
"&pkg_name=com.zx
hl.shop
"
val
req
=
WXLaunchMiniProgram
.
Req
()
val
g
=
Gson
()
val
obj
:
JsonObject
=
g
.
fromJson
(
entity
?.
payload
,
JsonObject
::
class
.
java
)
...
...
moduleMain/src/main/AndroidManifest.xml
View file @
8ce11a90
...
...
@@ -21,7 +21,7 @@
<data
android:host=
"splash"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.LoginActivity"
>
...
...
@@ -32,7 +32,7 @@
<data
android:host=
"login"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.CardVoucherActivity"
>
...
...
@@ -43,7 +43,7 @@
<data
android:host=
"cardvoucher"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.CardDetailActivity"
>
...
...
@@ -54,7 +54,7 @@
<data
android:host=
"carddetail"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.FlashSaleActivity"
>
...
...
@@ -65,7 +65,7 @@
<data
android:host=
"flashsale"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.WithDrawalActivity"
>
...
...
@@ -76,7 +76,7 @@
<data
android:host=
"withdrawal"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.SkillPayActivity"
>
...
...
@@ -87,7 +87,7 @@
<data
android:host=
"skillpay"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.BuyMemberActivity"
>
...
...
@@ -98,7 +98,7 @@
<data
android:host=
"buymember"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.CofigBugVipActivity"
>
...
...
@@ -109,7 +109,7 @@
<data
android:host=
"configbuyvip"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.AbuoutUsActivity"
>
...
...
@@ -120,7 +120,7 @@
<data
android:host=
"abuoutus"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.RightsDetailActivity"
>
...
...
@@ -131,7 +131,7 @@
<data
android:host=
"rights_detail"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -143,7 +143,7 @@
<data
android:host=
"zero_buy"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -157,7 +157,7 @@
<data
android:host=
"tb_goods_detail"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -169,7 +169,7 @@
<data
android:host=
"goodsdetail"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.MyOrderActivity"
>
...
...
@@ -180,7 +180,7 @@
<data
android:host=
"myorder"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".box.activity.WareHouseActivity"
>
...
...
@@ -191,7 +191,7 @@
<data
android:host=
"warehouse"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".box.activity.ReceiveAddressActivity"
>
...
...
@@ -202,7 +202,7 @@
<data
android:host=
"receiveaddress"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -214,7 +214,7 @@
<data
android:host=
"orderdetail"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -226,7 +226,7 @@
<data
android:host=
"topayskill"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -239,7 +239,7 @@
<data
android:host=
"setting"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -251,7 +251,7 @@
<data
android:host=
"member_order"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
...
...
@@ -263,7 +263,7 @@
<data
android:host=
"open_member"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.ShopOrderActivity"
>
...
...
@@ -274,7 +274,7 @@
<data
android:host=
"shoporder"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".box.activity.EditAddressActivity"
>
...
...
@@ -285,7 +285,7 @@
<data
android:host=
"editaddress"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".box.activity.OrderSuccessActivity"
>
...
...
@@ -296,7 +296,7 @@
<data
android:host=
"ordersuccess"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.SkillShopActivity"
>
...
...
@@ -307,7 +307,7 @@
<data
android:host=
"skillshop"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.PaySuccessActivity"
>
...
...
@@ -318,7 +318,7 @@
<data
android:host=
"paysucess"
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq
shop
"
/>
</intent-filter>
</activity>
</application>
...
...
settings.gradle
View file @
8ce11a90
include
':moduleMain'
include
':cms'
include
':app'
rootProject
.
name
=
"xxsq"
\ No newline at end of file
rootProject
.
name
=
"xxsqshop"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment