dyjh 6 năm trước cách đây
mục cha
commit
051e867499
1 tập tin đã thay đổi với 2 bổ sung14 xóa
  1. 2 14
      app/Http/Controllers/Api/V1/AlbumController.php

+ 2 - 14
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -1765,20 +1765,8 @@ class AlbumController extends Controller
 
     public function test()
     {
-        getUrlImage('111', public_path() . '/base/poster/avatar/' . 1 . "/1.jpg");
-        /*$weChatApp = AlbumManufacturerModel::where('store_id', 1)->first();\Log::info('2221');
-        $config = [
-            'app_id' => $weChatApp->G_app_id,
-            'secret' => $weChatApp->G_app_secret,
-            'response_type' => 'array',
-        ];\Log::info('2224');
-        $app = Factory::officialAccount($config);
-        $text = new Text('111');//dd($text);
-        $res_msg = $app->customer_service->message($text)->to('o_O0HuA4ugJG0npjLSL_Cd33FN8c')->send();dd($res_msg);*/
-        //\Tinify\setKey('8NTpkbbHjKxSDxhWqNftM1cPDcQTs3CD');
-        //$source = \Tinify\fromUrl("https://tinypng.com/images/panda-happy.png");
-        //$source->toFile(public_path() . '/base/poster/download/111.png');
-
+        $res = DB::connection('we7')->select("select * from `rk_member` where username='' or company='' ORDER BY id ASC ");
+        dd($res);
         echo 111;
     }