...
|
...
|
@@ -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'];
|
...
|
...
|
|