afa 7 months ago
parent
commit
bcb153735b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/Synthesis.php

+ 1 - 0
application/api/controller/Synthesis.php

@@ -45,6 +45,7 @@ class Synthesis extends Api
         $id = $this->request->param('id', 0, 'intval');
         $id = $this->request->param('id', 0, 'intval');
         if(empty($id)) $this->error(__("参数有误,无可用产品"));
         if(empty($id)) $this->error(__("参数有误,无可用产品"));
         $lan = $this->request->getLan();
         $lan = $this->request->getLan();
+
         //合成详情
         //合成详情
         $synthesis = SynthesisModel::getBySynthesis($id, $lan);
         $synthesis = SynthesisModel::getBySynthesis($id, $lan);
         if (!empty($synthesis)) {
         if (!empty($synthesis)) {