This commit is contained in:
chengxl
2025-11-11 11:10:38 +08:00
parent 8da208ab0c
commit ab57e6b549

View File

@@ -672,7 +672,9 @@ class Production extends Base
if (!$rule->check($data)) {
return jsonError($rule->getError());
}
$updata['abstract'] = trim($data['abstract']);
if(isset($data['abstract'])){
$updata['abstract'] = trim($data['abstract']);
}
$updata['doi'] = $data['doi'];
$updata['pub_date'] = $data['pub_date'];
$this->production_article_obj->where('p_article_id', $data['p_article_id'])->update($updata);
@@ -1476,8 +1478,8 @@ class Production extends Base
$typesetInfo['images'] = null;
$typesetInfo['tables'] = null;
// $url = $this->ts_base_url."api/typeset/createDocx";
$url = "http://192.168.110.110:8081/typeset/createDocx";
$url = $this->ts_base_url."api/typeset/createDocx";
// $url = "http://192.168.110.110:8081/typeset/createDocx";
// $url = "http://192.168.110.110:8081/typeset/testqt";
$res = object_to_array(json_decode(myPost1($url, $typesetInfo)));