123456789101112131415161718192021222324252627 |
- <?php
- namespace App\Http\Controllers;
- use App\Repositories\PosterRepository;
- use App\Traits\UserTrait;
- use Illuminate\Support\Facades\Redis;
- use Illuminate\Support\Facades\Validator;
- use Illuminate\Http\Request;
- use App\Services\WechatService;
- class WechatController extends Controller
- {
- public function __construct(WechatService $wechatService)
- {
- $this->wechatService = $wechatService;
- }
- /**
- * 公众号分享
- */
- public function share(Request $request)
- {
- $res = $this->wechatService->share();
- return jsonSuccess($res);
- }
- }
|