u
chenl
2018-12-19 11ab3771e23a4b60f497be3db27abe2a2e96d803
u
1 files modified
4 ■■■■ changed files
framework/builtin/store/site.php 4 ●●●● patch | view | raw | blame | history
framework/builtin/store/site.php
@@ -1015,10 +1015,6 @@
            $orderid = intval($_GPC['orderid']);
            $pay_type = pdo_getcolumn('site_store_order', array('id' => $orderid), 'type');
            
            $condition = array('id' => $orderid);
            $order_info = pdo_get('site_store_order', $condition, '');
            // 2018-12-19 购买成功后,直接添加到绑定的小程序上 chenlei start
            $module = pdo_fetch("SELECT g.module,g.type,m.version FROM ".tablename('site_store_order').
                " o LEFT JOIN ".tablename('site_store_goods')." g on o.goodsid = g.id LEFT JOIN ".tablename('modules').