|
@@ -175,9 +175,9 @@ class WechatSubscribeController extends CatchController
|
|
|
|
|
|
private function handelParam(mixed $param)
|
|
|
{
|
|
|
- if (getProp($param, 'type') != 'miniprogram') {
|
|
|
- return $param;
|
|
|
- }
|
|
|
+ // if (getProp($param, 'type') != 'miniprogram') {
|
|
|
+ // return $param;
|
|
|
+ // }
|
|
|
$info = DB::table('miniprogram')->where('id', $param['miniprogram_id'])->first();
|
|
|
if (empty($info)) {
|
|
|
throw new FailedException("小程序不正确");
|