This commit is contained in:
wangjinlei
2024-09-06 13:15:08 +08:00
parent dd1bffa778
commit 5a230d512b
4 changed files with 36 additions and 9 deletions

View File

@@ -1491,7 +1491,16 @@ class Production extends Base
}
public function mytestDoi(){
$info= $this->production_article_refer_obj->where("p_refer_id",86082)->find();
$data = $this->request->post();
$rule = new Validate([
"p_refer_id"=>"require"
]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
$info= $this->production_article_refer_obj->where("p_refer_id",$data['p_refer_id'])->find();
my_doiToFrag2($info);
}