|
@@ -23,9 +23,6 @@ class CommonController extends Controller
|
|
public function wxLogin()
|
|
public function wxLogin()
|
|
{
|
|
{
|
|
$req = request()->post();
|
|
$req = request()->post();
|
|
- if (!empty($req['test']) && $req['test'] == 'test') {
|
|
|
|
- print_r(send_wechat_message(12, ['oTO7l5btzrGxcP9Ietc-DWanuzG0', 11,22,33,44,55,66,77], []));die;
|
|
|
|
- }
|
|
|
|
$this->validate(request(), [
|
|
$this->validate(request(), [
|
|
'wechat_code' => 'required',
|
|
'wechat_code' => 'required',
|
|
'phone|手机号' => 'max:20',
|
|
'phone|手机号' => 'max:20',
|