@@ -38,6 +38,7 @@ class Info
$type = Dever::input('type', 1);
if (!$data) {
+ Dever::setInput('km', 2);
if ($type == 1) {
# 获取平台店
$data = $this->fetch(false, $city, $lng, $lat, 10, $name, $method);
@@ -751,9 +751,9 @@ class Sell
$param['receipt'] = $receipt;
}
- //$result = Dever::load('pay/api.pay', $param);
- $result['type'] = 'test';
- $result['order'] = '';
+ $result = Dever::load('pay/api.pay', $param);
+ //$result['type'] = 'test';
+ //$result['order'] = '';
if ($cart) {
# 来自购物车,要清空一下
$this->dropCart($cart, $uid, $goods, $shop['id']);