Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Dec 1, 2021
1 parent b2d53d4 commit 9ea5289
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -126,7 +126,7 @@ private function _requestToDoc($method , $url , $request , $json_array){

private function _requestToApi($method , $url , $request , $json_array){
$return = array() ;
$page_title = $request['summary'] ? $request['summary']: $request['operationId'] ;
$page_title = $request['summary'] ? $request['summary']: $request['description'] ;
$page_title = mb_substr($page_title, 0, 50, 'utf-8');
$return['page_title'] = $page_title ;
$return['s_number'] = 99 ;
Expand All @@ -136,7 +136,7 @@ private function _requestToApi($method , $url , $request , $json_array){
"info"=>array(
"from" => 'runapi' ,
"type" => 'api' ,
"title" => $request['summary'] ? $request['summary']: $request['operationId'] ,
"title" => $request['summary'] ? $request['summary']: $request['description'] ,
"description" => $request['description'] ,
"method" => strtolower($method) ,
"url" => $this->url_pre . $url ,
Expand Down

0 comments on commit 9ea5289

Please sign in to comment.