소스 검색

Weenier 168otc项目部署 0630

wesmiler 3 년 전
부모
커밋
76e33dc714
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Api/LangController.php

+ 1 - 1
app/Http/Controllers/Api/LangController.php

@@ -15,7 +15,7 @@ class LangController extends webApp
      * @return array
      */
     public function switch(){
-        $locale = request()->get('locale');
+        $locale = request()->post('locale');
         if(empty($locale)){
             return message('2101',false);
         }