1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user