作者 sgj
1 个管道 的构建 通过 耗费 0 秒

被关注数量

... ... @@ -107,7 +107,7 @@ class Production extends BaseApi
//$dynasty = model('production_dynasty')->where('id',$data['dynasty_id'])->find();
$dynasty = '';
$format = model('production_format')->where('id',$data['format_id'])->find();
if (!$typeface || !$dynasty || !$format){
if (!$typeface || !$format){
$this->error('数据不存在');
}
$data['typeface'] = $typeface['name'];
... ...