切换导航条
此项目
正在载入...
登录
周海龙
/
globalso
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
lyh
2023-11-08 19:01:48 +0800
提交
62219935aed9f3721728507b6e072cb50635415c
1 个父辈
33cc8c5e
gx
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
7 行增加
和
2 行删除
app/Helper/helper.php
app/Http/Logic/Bside/BTemplate/CustomTemplateLogic.php
app/Http/Logic/Bside/Product/ProductLogic.php
app/Helper/helper.php
查看文件 @
6221993
...
...
@@ -555,3 +555,8 @@ if(!function_exists('curlGet')){
return
json_decode
(
$access_txt
,
true
);
}
}
function
ends_with
(
$string
,
$suffix
)
{
return
substr
(
$string
,
-
strlen
(
$suffix
))
===
$suffix
;
}
...
...
app/Http/Logic/Bside/BTemplate/CustomTemplateLogic.php
查看文件 @
6221993
...
...
@@ -182,7 +182,7 @@ class CustomTemplateLogic extends BaseLogic
];
$this
->
setRouteDeleteSave
(
$data
);
//"字符串以\"-product\"结尾"
if
(
!
ends
W
ith
(
$route
,
"-tag"
))
{
if
(
!
ends
_w
ith
(
$route
,
"-tag"
))
{
$route
=
$route
.
"-tag"
;
}
}
...
...
app/Http/Logic/Bside/Product/ProductLogic.php
查看文件 @
6221993
...
...
@@ -216,7 +216,7 @@ class ProductLogic extends BaseLogic
];
$this
->
setRouteDeleteSave
(
$data
);
//"字符串以\"-product\"结尾"
if
(
!
ends
W
ith
(
$route
,
"-product"
))
{
if
(
!
ends
_w
ith
(
$route
,
"-product"
))
{
$route
=
$route
.
"-product"
;
}
}
...
...
请
注册
或
登录
后发表评论