提交 dcd3957e 编写于 作者: D devil

细节优化

上级 87eceee4
......@@ -306,7 +306,7 @@ class ConfigService
]);
// 坐标处理
if(!empty($data) && is_array($data) && in_array(APPLICATION_CLIENT_TYPE, ['weixin', 'alipay', 'baidu']))
if(!empty($data) && is_array($data) && in_array(APPLICATION_CLIENT_TYPE, config('shopxo.coordinate_transformation')))
{
foreach($data as &$v)
{
......
......@@ -75,5 +75,8 @@ return [
// 小程序平台
'mini_app_type_list' => ['weixin', 'alipay', 'baidu', 'toutiao', 'qq'],
// 坐标需要转换的平台
'coordinate_transformation' => ['alipay', 'weixin', 'toutiao', 'baidu'],
];
?>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册