Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
7c7c5830
ShopXO
项目概览
starsw001
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
7c7c5830
编写于
4月 26, 2021
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v2.0.2
上级
02d2fc44
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
49 addition
and
210 deletion
+49
-210
application/admin/controller/Index.php
application/admin/controller/Index.php
+9
-0
application/tags.php
application/tags.php
+17
-196
changelog.txt
changelog.txt
+1
-1
config/app.php
config/app.php
+1
-1
extend/payment/QQ.php
extend/payment/QQ.php
+3
-1
extend/payment/Weixin.php
extend/payment/Weixin.php
+2
-1
public/static/common/css/common.css
public/static/common/css/common.css
+10
-6
public/static/common/lib/amazeui-dialog/amazeui.dialog.js
public/static/common/lib/amazeui-dialog/amazeui.dialog.js
+4
-2
public/static/common/lib/ueditor/dialogs/map/map.html
public/static/common/lib/ueditor/dialogs/map/map.html
+1
-1
public/static/common/lib/ueditor/dialogs/map/show.html
public/static/common/lib/ueditor/dialogs/map/show.html
+1
-1
未找到文件。
application/admin/controller/Index.php
浏览文件 @
7c7c5830
...
...
@@ -133,6 +133,9 @@ class Index extends Common
return
$this
->
error
(
'非法访问'
);
}
// 权限校验
$this
->
IsPower
();
// 开始处理
$params
=
$this
->
data_request
;
return
StoreService
::
SiteStoreAccountsBind
(
$params
);
...
...
@@ -154,6 +157,9 @@ class Index extends Common
return
$this
->
error
(
'非法访问'
);
}
// 权限校验
$this
->
IsPower
();
// 开始处理
$params
=
$this
->
data_request
;
return
StoreService
::
SiteInspectUpgrade
(
$params
);
...
...
@@ -175,6 +181,9 @@ class Index extends Common
return
$this
->
error
(
'非法访问'
);
}
// 权限校验
$this
->
IsPower
();
// 开始处理
$params
=
$this
->
data_request
;
return
SystemUpgradeService
::
Run
(
$params
);
...
...
application/tags.php
浏览文件 @
7c7c5830
...
...
@@ -32,122 +32,29 @@ return array (
'log_write'
=>
array
(
),
'plugins_admin_css'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_css'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\multilingual\\Hook'
,
3
=>
'app\\plugins\\store\\Hook'
,
4
=>
'app\\plugins\\distribution\\Hook'
,
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_js'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\multilingual\\Hook'
,
3
=>
'app\\plugins\\store\\Hook'
,
4
=>
'app\\plugins\\distribution\\Hook'
,
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_service_navigation_header_handle'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_quick_navigation_pc'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\multilingual\\Hook'
,
2
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_h5'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\multilingual\\Hook'
,
2
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_weixin'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_alipay'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_baidu'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_qq'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_quick_navigation_toutiao'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_goods_handle_end'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_view_buy_form_inside'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_view_buy_base_confirm_top'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_buy_group_goods_handle'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\newuserreduction\\Hook'
,
),
'plugins_service_buy_order_insert_end'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\store\\Hook'
,
3
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_order_status_change_history_success_handle'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\shop\\Hook'
,
2
=>
'app\\plugins\\store\\Hook'
,
3
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_base_data_return_api_buy_index'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
),
'plugins_admin_css'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\orderpricerevision\\Hook'
,
2
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_users_center_left_menu_handle'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
2
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_header_navigation_top_right_handle'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\multilingual\\Hook'
,
2
=>
'app\\plugins\\store\\Hook'
,
3
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_goods_save_handle'
=>
array
(
...
...
@@ -156,27 +63,22 @@ return array (
'plugins_service_editor_path_type_admin_goods_saveinfo'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_view_goods_detail_right_content_bottom'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_view_goods_detail_base_bottom'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_view_goods_detail_base_buy_nav_min_inside_begin'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_warehouse_handle_end'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_buy_handle'
=>
array
(
...
...
@@ -185,119 +87,38 @@ return array (
'plugins_service_buy_order_insert_begin'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_
order_aftersale_audit_handle
_end'
=>
'plugins_service_
buy_order_insert
_end'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
2
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_
view_admin_goods_sav
e'
=>
'plugins_
service_order_status_change_history_success_handl
e'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_
module_form_admin_goods_index
'
=>
'plugins_
service_order_aftersale_audit_handle_end
'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_
module_form_admin_goods_detail
'
=>
'plugins_
view_admin_goods_save
'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
),
'plugins_service_goods_
buy_nav_button_handle
'
=>
'plugins_service_goods_
handle_end
'
=>
array
(
0
=>
'app\\plugins\\shop\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_common_page_bottom'
=>
array
(
0
=>
'app\\plugins\\multilingual\\Hook'
,
),
'plugins_view_common_top'
=>
array
(
0
=>
'app\\plugins\\multilingual\\Hook'
,
),
'plugins_view_common_bottom'
=>
array
(
0
=>
'app\\plugins\\multilingual\\Hook'
,
),
'plugins_service_search_goods_list_where'
=>
array
(
0
=>
'app\\plugins\\multilingual\\Hook'
,
),
'plugins_admin_js'
=>
array
(
0
=>
'app\\plugins\\orderpricerevision\\Hook'
,
),
'plugins_admin_view_common_bottom'
=>
array
(
0
=>
'app\\plugins\\orderpricerevision\\Hook'
,
),
'plugins_view_admin_order_list_operate'
=>
array
(
0
=>
'app\\plugins\\orderpricerevision\\Hook'
,
1
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_warehouse_goods_inventory_deduct'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_warehouse_goods_inventory_rollback'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_warehouse_goods_inventory_sync'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_goods_field_status_update'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_goods_delete'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_goods_save_end'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_system_begin'
=>
array
(
0
=>
'app\\plugins\\store\\Hook'
,
),
'plugins_service_site_extraction_address_list'
=>
array
(
0
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_goods_spec_extends_handle'
=>
array
(
0
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_view_admin_user_save'
=>
array
(
0
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_user_save_handle'
=>
array
(
0
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_service_goods_spec_base'
=>
array
(
0
=>
'app\\plugins\\distribution\\Hook'
,
),
'plugins_view_goods_detail_panel_price_top'
=>
'plugins_module_form_admin_goods_index'
=>
array
(
0
=>
'app\\plugins\\
distribution
\\Hook'
,
0
=>
'app\\plugins\\
shop
\\Hook'
,
),
'plugins_module_form_admin_
user_index
'
=>
'plugins_module_form_admin_
goods_detail
'
=>
array
(
0
=>
'app\\plugins\\
distribution
\\Hook'
,
0
=>
'app\\plugins\\
shop
\\Hook'
,
),
'plugins_
module_form_admin_user_detail
'
=>
'plugins_
service_goods_buy_nav_button_handle
'
=>
array
(
0
=>
'app\\plugins\\
distribution
\\Hook'
,
0
=>
'app\\plugins\\
shop
\\Hook'
,
),
);
?>
\ No newline at end of file
changelog.txt
浏览文件 @
7c7c5830
...
...
@@ -13,7 +13,7 @@ web端
1.
插件
1.
1.
分销插件优化、增强更多返佣规则
+=========================================================+
...
...
config/app.php
浏览文件 @
7c7c5830
...
...
@@ -19,7 +19,7 @@ return [
// 应用地址
'app_host'
=>
''
,
// 应用调试模式
'app_debug'
=>
tru
e
,
'app_debug'
=>
fals
e
,
// 应用Trace
'app_trace'
=>
false
,
// 是否支持多模块
...
...
extend/payment/QQ.php
浏览文件 @
7c7c5830
...
...
@@ -331,7 +331,9 @@ class QQ
public
function
PayAppID
(
$client_type
)
{
$arr
=
[
'app'
=>
$this
->
config
[
'app_appid'
],
'app'
=>
$this
->
config
[
'app_appid'
],
'ios'
=>
$this
->
config
[
'app_appid'
],
'android'
=>
$this
->
config
[
'app_appid'
],
];
return
array_key_exists
(
$client_type
,
$arr
)
?
$arr
[
$client_type
]
:
$this
->
config
[
'appid'
];
}
...
...
extend/payment/Weixin.php
浏览文件 @
7c7c5830
...
...
@@ -418,7 +418,8 @@ class Weixin
{
$arr
=
[
'weixin'
=>
$this
->
config
[
'mini_appid'
],
'app'
=>
$this
->
config
[
'app_appid'
],
'ios'
=>
$this
->
config
[
'app_appid'
],
'android'
=>
$this
->
config
[
'app_appid'
],
];
return
array_key_exists
(
$client_type
,
$arr
)
?
$arr
[
$client_type
]
:
$this
->
config
[
'appid'
];
}
...
...
public/static/common/css/common.css
浏览文件 @
7c7c5830
...
...
@@ -8,6 +8,13 @@ ul { list-style: none; }
.text-deco-none
{
text-decoration
:
none
!important
;
}
.text-deco-line
{
text-decoration
:
underline
!important
;
}
/**
* 表单组件
*/
.am-form
select
,
.am-form
textarea
,
.am-form
input
[
type
=
"text"
],
.am-form
input
[
type
=
"password"
],
.am-form
input
[
type
=
"datetime"
],
.am-form
input
[
type
=
"datetime-local"
],
.am-form
input
[
type
=
"date"
],
.am-form
input
[
type
=
"month"
],
.am-form
input
[
type
=
"time"
],
.am-form
input
[
type
=
"week"
],
.am-form
input
[
type
=
"number"
],
.am-form
input
[
type
=
"email"
],
.am-form
input
[
type
=
"url"
],
.am-form
input
[
type
=
"search"
],
.am-form
input
[
type
=
"tel"
],
.am-form
input
[
type
=
"color"
],
.am-form-field
{
line-height
:
1.4
;
}
/* 没数据 */
.table-no
{
text-align
:
center
;
padding
:
115px
0
;
background
:
#FFF
!important
;
color
:
#888
;
}
...
...
@@ -39,13 +46,13 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom:
.chosen-container
{
width
:
100%
!important
;
}
.am-tagsinput
{
display
:
block
;
padding
:
2px
5px
;
border-radius
:
2px
;
}
.chosen-choices
,
.chosen-single
{
border-radius
:
2px
;
}
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
height
:
28
px
!important
;
}
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
height
:
30
px
!important
;
}
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
:hover
,
.am-tagsinput
input
[
type
=
"text"
]
:hover
{
box-shadow
:
0
0
0
#fff
!important
;
border
:
0
!important
;
}
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
:focus
,
.am-tagsinput
input
[
type
=
"text"
]
:focus
{
border-color
:
#fff
;
-webkit-box-shadow
:
inset
0
0
0
0
!important
;
box-shadow
:
inset
0
0
0
0
!important
;
}
.chosen-choices
{
padding
:
0px
3px
!important
;
min-height
:
28
px
;
}
.chosen-container-single
.chosen-single
{
height
:
28px
;
line-height
:
28
px
;
}
.chosen-choices
{
padding
:
0px
3px
!important
;
min-height
:
30
px
;
}
.chosen-container-single
.chosen-single
{
height
:
30px
;
line-height
:
30
px
;
}
.chosen-container-multi
.chosen-choices
li
.search-field
{
padding-left
:
3px
;
}
.chosen-container-single
.chosen-single
{
color
:
#444
!important
;
}
.chosen-container-single
.chosen-default
{
color
:
#999
!important
;
}
...
...
@@ -148,9 +155,6 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom:
.am-modal-dialog
{
width
:
auto
;
}
.am-modal-dialog
.am-modal-bd
{
padding
:
10px
30px
;
}
.am-modal-dialog
.am-modal-bd
span
{
vertical-align
:
middle
;
}
...
...
public/static/common/lib/amazeui-dialog/amazeui.dialog.js
浏览文件 @
7c7c5830
...
...
@@ -72,7 +72,7 @@ dialog.confirm = function(options) {
html
.
push
(
'
<div class="am-modal am-modal-confirm" tabindex="-1">
'
);
html
.
push
(
'
<div class="am-modal-dialog">
'
);
html
.
push
(
'
<div class="am-modal-hd">
'
+
options
.
title
+
'
</div>
'
);
html
.
push
(
'
<div class="am-modal-bd">
'
+
options
.
content
+
'
</div>
'
);
html
.
push
(
'
<div class="am-modal-bd">
<div class="am-padding-horizontal-xl am-padding-vertical-xs">
'
+
options
.
content
+
'
</div>
</div>
'
);
html
.
push
(
'
<div class="am-modal-footer">
'
);
html
.
push
(
'
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
'
);
html
.
push
(
'
<span class="am-modal-btn" data-am-modal-confirm>确定</span>
'
);
...
...
@@ -110,12 +110,14 @@ dialog.loading = function(options) {
var
html
=
[];
html
.
push
(
'
<div class="am-modal am-modal-loading am-modal-no-btn" tabindex="-1" id="my-modal-loading">
'
);
html
.
push
(
'
<div class="am-modal-dialog">
'
);
html
.
push
(
'
<div class="am-modal-bd">
'
);
html
.
push
(
'
<div class="am-modal-bd am-padding-vertical-0">
'
);
html
.
push
(
'
<div class="am-padding-horizontal-sm am-padding-vertical-sm">
'
);
html
.
push
(
'
<span class="am-icon-spinner am-icon-spin"></span>
'
);
html
.
push
(
'
<span class="am-margin-left-xs">
'
+
options
.
title
+
'
</span>
'
);
html
.
push
(
'
</div>
'
);
html
.
push
(
'
</div>
'
);
html
.
push
(
'
</div>
'
);
html
.
push
(
'
</div>
'
);
return
$
(
html
.
join
(
''
)).
appendTo
(
'
body
'
).
modal
()
.
on
(
'
closed.modal.amui
'
,
function
()
{
...
...
public/static/common/lib/ueditor/dialogs/map/map.html
浏览文件 @
7c7c5830
...
...
@@ -4,7 +4,7 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title></title>
<script
type=
"text/javascript"
src=
"../internal.js"
></script>
<script
type=
"text/javascript"
src=
"https://api.map.baidu.com/api?v=2.0&ak=
XSdiGjfg3wOHiKjpYEMG6CYA
"
></script>
<script
type=
"text/javascript"
src=
"https://api.map.baidu.com/api?v=2.0&ak=
{{common_baidu_map_ak}}
"
></script>
<style
type=
"text/css"
>
.content
{
width
:
530px
;
height
:
350px
;
margin
:
10px
auto
;}
.content
table
{
width
:
100%
}
...
...
public/static/common/lib/ueditor/dialogs/map/show.html
浏览文件 @
7c7c5830
...
...
@@ -14,7 +14,7 @@
overflow
:
hidden
;
}
</style>
<script
type=
"text/javascript"
src=
"https://api.map.baidu.com/api?v=2.0&ak=
XSdiGjfg3wOHiKjpYEMG6CYA
"
></script>
<script
type=
"text/javascript"
src=
"https://api.map.baidu.com/api?v=2.0&ak=
{{common_baidu_map_ak}}
"
></script>
</head>
<body
onload=
"initMap();"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录