切换导航条
此项目
正在载入...
登录
景龙
/
feifangu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
jinglong
5 years ago
提交
00f2004fc4428ab974e7da78cb58e65cda206896
1 个父辈
e420dc00
1 个管道 的构建
通过
耗费 1 秒
修改商品库存
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
10 行增加
和
3 行删除
application/api/controller/Goods.php
public/api.html
application/api/controller/Goods.php
查看文件 @
00f2004
...
...
@@ -57,7 +57,10 @@ class Goods extends Api
"ABX级",
"ABN级"
],
"stock": 100,//商品库存
"stock": [//商品标签
100,
100
],//商品库存
"introduce": "轻波款,为客厅缀上霞光淡雾",//商品简介
"detail": "",//商品详情(富文本)
"frame": [//视频第一到第六帧图片(无视频返回空数组)
...
...
@@ -104,6 +107,7 @@ class Goods extends Api
$res
[
'style'
]
=
explode
(
'|'
,
$res
[
'style'
]);
$res
[
'tag'
]
=
explode
(
'|'
,
$res
[
'tag'
]);
$res
[
'sale_price'
]
=
explode
(
'|'
,
$res
[
'sale_price1'
]);
$res
[
'stock'
]
=
explode
(
'|'
,
$res
[
'stock'
]);
$res
[
'image'
]
=
$this
->
auth
->
absolutionUrlOne
(
$res
[
'image'
]);
//所属品牌分类
if
(
$res
[
'type'
]
==
1
){
...
...
public/api.html
查看文件 @
00f2004
...
...
@@ -2497,7 +2497,10 @@
"ABX级",
"ABN级"
],
"stock": 100,//商品库存
"stock": [//商品标签
100,
100
],//商品库存
"introduce": "轻波款,为客厅缀上霞光淡雾",//商品简介
"detail": "",//商品详情(富文本)
"frame": [//视频第一到第六帧图片(无视频返回空数组)
...
...
@@ -7403,7 +7406,7 @@
<div
class=
"row mt0 footer"
>
<div
class=
"col-md-6"
align=
"left"
>
Generated on 2019-12-09 1
3:49:59
</div>
Generated on 2019-12-09 1
4:16:46
</div>
<div
class=
"col-md-6"
align=
"right"
>
<a
href=
"https://www.fastadmin.net"
target=
"_blank"
>
FastAdmin
</a>
</div>
...
...
请
注册
或
登录
后发表评论