...
|
...
|
@@ -104,7 +104,8 @@ class Production extends BaseApi |
|
|
//$images = implode(',',json_decode($files,true));
|
|
|
//4.查询数据
|
|
|
$typeface = model('production_typeface')->where('id',$data['typeface_id'])->find();
|
|
|
$dynasty = model('production_dynasty')->where('id',$data['dynasty_id'])->find();
|
|
|
//$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){
|
|
|
$this->error('数据不存在');
|
...
|
...
|
|