|
@@ -5,7 +5,7 @@ class Model_express_tt extends Lin_Model {
|
|
$this->load->_model("Model_apitt","apitt");
|
|
$this->load->_model("Model_apitt","apitt");
|
|
}
|
|
}
|
|
public function getData($info){
|
|
public function getData($info){
|
|
- $shop_info = $this->db->form('shop')->where('id', $info['shop_id'])->get()->row();
|
|
|
|
|
|
+ $shop_info = $this->db->from('shop')->where('id', $info['shop'])->get()->row();
|
|
if(empty($shop_info)){
|
|
if(empty($shop_info)){
|
|
return $g = [
|
|
return $g = [
|
|
'x'=>0,
|
|
'x'=>0,
|
|
@@ -13,6 +13,7 @@ class Model_express_tt extends Lin_Model {
|
|
];
|
|
];
|
|
}
|
|
}
|
|
$order_info = $this->getDetail($info['orderinfo'],$shop_info);
|
|
$order_info = $this->getDetail($info['orderinfo'],$shop_info);
|
|
|
|
+
|
|
}
|
|
}
|
|
//查询信息
|
|
//查询信息
|
|
private function getDetail($orderinfo,$shop){
|
|
private function getDetail($orderinfo,$shop){
|