This commit is contained in:
wangjinlei
2021-02-25 15:03:13 +08:00
parent 540a2d7579
commit 49979c23f5
3 changed files with 90 additions and 3 deletions

View File

@@ -122,7 +122,6 @@ class Special extends Controller {
* @param name:interests type:string require:0 desc:兴趣
* @param name:website type:string require:0 desc:编辑主页
* @param name:orcid type:string require:0 desc:orcid
*
*/
public function addEditor(){
$data = $this->request->post();
@@ -209,7 +208,7 @@ class Special extends Controller {
->where('j_journal_special_to_editor.state',0)
->select();
foreach ($caches as $val){
$frag .= $frag == ''?$val['first_name'].' '.$val['last_name']:','.$val['first_name'].' '.$val['last_name'];
$frag .= $frag == ''?$val['first_name'].' '.$val['last_name']:', '.$val['first_name'].' '.$val['last_name'];
}
$list[$k]['editor'] = $frag;
}
@@ -243,7 +242,6 @@ class Special extends Controller {
->where('j_journal_special_to_editor.journal_special_id',$data['journal_special_id'])
->where('j_journal_special_to_editor.state',0)
->select();
$re['keywords'] = explode(';', $info['keywords']);
$re['journal'] = $journal_info;
$re['special'] = $info;