|
|
@@ -120,7 +120,7 @@ class PropertyActivityLogic extends BaseLogic
|
|
|
return PropertyActivity::findOrEmpty($params['id'])->toArray();
|
|
|
}
|
|
|
|
|
|
- public static function getQRCode($params)
|
|
|
+ public static function getQRCode($params,$url='weixiu.kyjlkj.com')
|
|
|
{
|
|
|
try {
|
|
|
// $mnp_page = (isset($params['mnp_page']) && $params['mnp_page'])?urldecode($params['mnp_page']):env('miniprogram.property_activity_qrcode', '');
|
|
|
@@ -145,7 +145,7 @@ class PropertyActivityLogic extends BaseLogic
|
|
|
file_put_contents($file_name, $qrcode);
|
|
|
|
|
|
//$file_name = 'https://fushencdn.kyjlkj.com/uploads/miniqrcode/27f140aae615bbe16c1e888c14c9ab10.png';
|
|
|
- return 'https://weixiu.zhongdunzhizhao.com/'.$file_name;
|
|
|
+ return $url.'/'.$file_name;
|
|
|
} catch (\Throwable $e) {
|
|
|
Log::info('getQRCode:'.$e->getMessage());
|
|
|
return '';
|