| xqd
@@ -1765,8 +1765,20 @@ class AlbumController extends Controller
|
|
|
|
|
|
public function test()
|
|
|
{
|
|
|
- $res = DB::connection('we7')->select("select * from `rk_member` where username='' or company='' ORDER BY uid ASC ");
|
|
|
- dd($res);
|
|
|
+ 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');
|
|
|
+
|
|
|
echo 111;
|
|
|
}
|
|
|
|