request->post(); $rule = new Validate([ "journal_id" => 'equire' ]); if(!$rule->check($data)){ return jsonError($rule->getError()); } $journal_info = $this->journal_obj->where('journal_id',$data['journal_id'])->find(); //发送请求到官网 $url = $this->Base_url."api/Submision/getJournalStages"; $program['issn'] = $journal_info['issn']; $res = object_to_array(json_decode(myPost($url,$program))); $list = $res['data']['stages']; $re['stages'] = $list; return jsonSuccess($re); } } ?>