|
@@ -122,7 +122,7 @@ class ArticleService extends BaseService
|
|
|
* @return array
|
|
* @return array
|
|
|
*/
|
|
*/
|
|
|
public function getDetail(){
|
|
public function getDetail(){
|
|
|
- $id = resuest()->get('id', 0);
|
|
|
|
|
|
|
+ $id = request()->get('id', 0);
|
|
|
if($id<=0){
|
|
if($id<=0){
|
|
|
return message(1006, false);
|
|
return message(1006, false);
|
|
|
}
|
|
}
|