Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
location share white
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
wanglei
location share white
Commits
f0833086
Commit
f0833086
authored
Dec 27, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
3b319ff5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
LocationLoginUtils.kt
...om/base/locationsharewhite/location/LocationLoginUtils.kt
+3
-2
LocationShareListUtils.kt
...ase/locationsharewhite/location/LocationShareListUtils.kt
+5
-4
LocationShareUtils.kt
...om/base/locationsharewhite/location/LocationShareUtils.kt
+3
-2
LocationStatusUtils.kt
...m/base/locationsharewhite/location/LocationStatusUtils.kt
+3
-2
No files found.
app/src/main/java/com/base/locationsharewhite/location/LocationLoginUtils.kt
View file @
f0833086
package
com.base.locationsharewhite.location
import
com.base.locationsharewhite.GlobalConfig
import
com.base.locationsharewhite.helper.AESHelper
import
com.base.locationsharewhite.helper.ReportUtils.doPost
import
com.base.locationsharewhite.utils.AppPreferences
...
...
@@ -32,9 +33,9 @@ object LocationLoginUtils {
private
const
val
DATA_KEY
=
"data"
private
val
url
by
lazy
{
val
pkg
=
AppConfig
.
packageName
val
pkg
=
GlobalConfig
.
PACKAGE_NAME
val
url
=
StringBuilder
(
"${
AppConfig.apiUrl
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}v"
"${
GlobalConfig.URL_API
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}v"
)
url
.
append
(
"?pkg=$pkg"
)
url
.
toString
()
...
...
app/src/main/java/com/base/locationsharewhite/location/LocationShareListUtils.kt
View file @
f0833086
package
com.base.locationsharewhite.location
import
com.base.locationsharewhite.GlobalConfig
import
com.base.locationsharewhite.bean.ViewerBean
import
com.base.locationsharewhite.bean.ViewingBean
import
com.base.locationsharewhite.helper.AESHelper
...
...
@@ -23,9 +24,9 @@ object LocationShareListUtils {
* 分享关系列表
*/
private
val
url
by
lazy
{
val
pkg
=
AppConfig
.
packageName
val
pkg
=
GlobalConfig
.
PACKAGE_NAME
val
url
=
StringBuilder
(
"${
AppConfig.apiUrl
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}ac"
"${
GlobalConfig.URL_API
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}ac"
)
url
.
append
(
"?pkg=$pkg"
)
url
.
toString
()
...
...
@@ -90,9 +91,9 @@ object LocationShareListUtils {
* 分享关系列表
*/
private
val
deleteUrl
by
lazy
{
val
pkg
=
AppConfig
.
packageName
val
pkg
=
GlobalConfig
.
PACKAGE_NAME
val
url
=
StringBuilder
(
"${
AppConfig.apiUrl
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}p"
"${
GlobalConfig.URL_API
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}p"
)
url
.
append
(
"?pkg=$pkg"
)
url
.
toString
()
...
...
app/src/main/java/com/base/locationsharewhite/location/LocationShareUtils.kt
View file @
f0833086
package
com.base.locationsharewhite.location
import
com.base.locationsharewhite.GlobalConfig
import
com.base.locationsharewhite.helper.AESHelper
import
com.base.locationsharewhite.helper.ReportUtils
import
com.base.locationsharewhite.location.LocationLoginUtils.extractData
...
...
@@ -23,9 +24,9 @@ object LocationShareUtils {
* 分享位置接口
*/
private
val
url
by
lazy
{
val
pkg
=
AppConfig
.
packageName
val
pkg
=
GlobalConfig
.
PACKAGE_NAME
val
url
=
StringBuilder
(
"${
AppConfig.apiUrl
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}m"
"${
GlobalConfig.URL_API
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}m"
)
url
.
append
(
"?pkg=$pkg"
)
url
.
toString
()
...
...
app/src/main/java/com/base/locationsharewhite/location/LocationStatusUtils.kt
View file @
f0833086
package
com.base.locationsharewhite.location
import
com.base.locationsharewhite.GlobalConfig
import
com.base.locationsharewhite.helper.AESHelper
import
com.base.locationsharewhite.helper.ReportUtils
import
com.base.locationsharewhite.utils.LogEx
...
...
@@ -16,9 +17,9 @@ object LocationStatusUtils {
* 改变别人是否可以看我的状态接口
*/
private
val
url
by
lazy
{
val
pkg
=
AppConfig
.
packageName
val
pkg
=
GlobalConfig
.
PACKAGE_NAME
val
url
=
StringBuilder
(
"${
AppConfig.apiUrl
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}f"
"${
GlobalConfig.URL_API
}/dingwei/${pkg.filter { it.isLowerCase() }.substring(4, 9)}f"
)
url
.
append
(
"?pkg=$pkg"
)
url
.
toString
()
...
...
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