微信小程序模块初始化 use Zuogechengxu\Wechat\Factory; $config = [ 'app_id' => 'xxx', 'secret' => 'xxx', ]; $app = Factory::miniProgram($config);