Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
75c59736
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
75c59736
编写于
3月 15, 2021
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
自提地址切换优化
上级
1e349933
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
25 addition
and
25 deletion
+25
-25
application/service/BaseService.php
application/service/BaseService.php
+1
-1
sourcecode/alipay/default/pages/extraction-address/extraction-address.js
...ay/default/pages/extraction-address/extraction-address.js
+4
-4
sourcecode/baidu/default/pages/extraction-address/extraction-address.js
...du/default/pages/extraction-address/extraction-address.js
+4
-4
sourcecode/qq/default/pages/extraction-address/extraction-address.js
...qq/default/pages/extraction-address/extraction-address.js
+4
-4
sourcecode/toutiao/default/pages/extraction-address/extraction-address.js
...ao/default/pages/extraction-address/extraction-address.js
+4
-4
sourcecode/weixin/default/pages/extraction-address/extraction-address.js
...in/default/pages/extraction-address/extraction-address.js
+4
-4
sourcecode/weixin/default/pages/plugins/distribution/extraction-switch/extraction-switch.js
...ugins/distribution/extraction-switch/extraction-switch.js
+4
-4
未找到文件。
application/service/BaseService.php
浏览文件 @
75c59736
...
...
@@ -65,7 +65,7 @@ class BaseService
// 订单相关
'home_is_enable_order_bulk_pay'
=>
(
int
)
MyC
(
'home_is_enable_order_bulk_pay'
,
0
),
'home_
buy_extraction_address_position'
=>
(
int
)
MyC
(
'home_buy
_extraction_address_position'
,
0
),
'home_
extraction_address_position'
=>
(
int
)
MyC
(
'home
_extraction_address_position'
,
0
),
// 用户中心相关
'common_user_center_notice'
=>
MyC
(
'common_user_center_notice'
,
null
,
true
),
...
...
sourcecode/alipay/default/pages/extraction-address/extraction-address.js
浏览文件 @
75c59736
...
...
@@ -10,13 +10,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -25,7 +25,7 @@ Page({
my
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_extraction_address_position
==
1
)
{
my
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -37,7 +37,7 @@ Page({
my
.
setNavigationBar
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
sourcecode/baidu/default/pages/extraction-address/extraction-address.js
浏览文件 @
75c59736
...
...
@@ -10,13 +10,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -25,7 +25,7 @@ Page({
swan
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_extraction_address_position
==
1
)
{
swan
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -37,7 +37,7 @@ Page({
swan
.
setNavigationBarTitle
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
sourcecode/qq/default/pages/extraction-address/extraction-address.js
浏览文件 @
75c59736
...
...
@@ -10,13 +10,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -25,7 +25,7 @@ Page({
qq
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_extraction_address_position
==
1
)
{
qq
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -37,7 +37,7 @@ Page({
qq
.
setNavigationBarTitle
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
sourcecode/toutiao/default/pages/extraction-address/extraction-address.js
浏览文件 @
75c59736
...
...
@@ -10,13 +10,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -25,7 +25,7 @@ Page({
tt
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_extraction_address_position
==
1
)
{
tt
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -37,7 +37,7 @@ Page({
tt
.
setNavigationBarTitle
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
sourcecode/weixin/default/pages/extraction-address/extraction-address.js
浏览文件 @
75c59736
...
...
@@ -10,13 +10,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -25,7 +25,7 @@ Page({
wx
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
((
this
.
data
.
params
.
is_buy
||
0
)
==
1
&&
this
.
data
.
home_extraction_address_position
==
1
)
{
wx
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -37,7 +37,7 @@ Page({
wx
.
setNavigationBarTitle
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
sourcecode/weixin/default/pages/plugins/distribution/extraction-switch/extraction-switch.js
浏览文件 @
75c59736
...
...
@@ -9,13 +9,13 @@ Page({
user_location_cache_key
:
app
.
data
.
cache_userlocation_key
,
user_location
:
null
,
is_first
:
1
,
home_
buy_
extraction_address_position
:
0
,
home_extraction_address_position
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
home_
buy_extraction_address_position
:
app
.
get_config
(
'
config.home_buy
_extraction_address_position
'
,
0
),
home_
extraction_address_position
:
app
.
get_config
(
'
config.home
_extraction_address_position
'
,
0
),
});
},
...
...
@@ -24,7 +24,7 @@ Page({
wx
.
removeStorage
({
key
:
this
.
data
.
user_location_cache_key
});
// 是否获取位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
wx
.
navigateTo
({
url
:
'
/pages/common/open-setting-location/open-setting-location
'
...
...
@@ -36,7 +36,7 @@ Page({
wx
.
setNavigationBarTitle
({
title
:
app
.
data
.
common_pages_title
.
extraction_address
});
// 是否需要选择地理位置
if
(
this
.
data
.
home_
buy_
extraction_address_position
==
1
)
if
(
this
.
data
.
home_extraction_address_position
==
1
)
{
// 首次不请求数据
if
(
this
.
data
.
is_first
==
0
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录