切换导航条
此项目
正在载入...
登录
王智
/
kcd
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王智
4 years ago
提交
83796ddaadefd48c7f2efb6da3ba6838275a7432
1 个父辈
e7292c8f
修改
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
application/api/controller/Common.php
application/api/controller/Common.php
查看文件 @
83796dd
...
...
@@ -714,7 +714,7 @@ class Common extends Api
}
$map
[
'BatteryCode'
]
=
[
'LIKE'
,
'%'
.
$Code
.
'%'
];
//用户电池分类ID
$Id
=
Db
::
name
(
'battery_code'
)
->
where
(
$map
)
->
value
(
'id'
);
$Id
=
Db
::
name
(
'battery_code'
)
->
where
(
$map
)
->
find
(
);
if
(
empty
(
$Id
))
{
$this
->
error
(
'系统没有找到该电池分类'
,
0
);
die
;
...
...
请
注册
或
登录
后发表评论