提交 bfc8f8ac 编写于 作者: D devil_gong

系统优化

上级 86c5e6dc
......@@ -164,7 +164,12 @@ class Goods extends Common
{
// 开始处理
$params = $this->data_post;
return GoodsService::GoodsSpecType($params);
$ret = GoodsService::GoodsSpecType($params);
if($ret['code'] == 0)
{
$ret['data'] = $ret['data']['spec_type'];
}
return $ret;
}
/**
......@@ -179,7 +184,12 @@ class Goods extends Common
{
// 开始处理
$params = $this->data_post;
return GoodsService::GoodsSpecDetail($params);
$ret = GoodsService::GoodsSpecDetail($params);
if($ret['code'] == 0)
{
$ret['data'] = $ret['data']['spec_base'];
}
return $ret;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册