|
@@ -41,6 +41,7 @@ class Fullordersmt extends Start_Controller {
|
|
|
$this->load->_model('Model_setting','setting');
|
|
|
$this->load->_model('Model_returngoods','returngoods');
|
|
|
$this->load->_model("Model_logic_order","logic_order");
|
|
|
+ $this->load->_model("Model_fullordererrors","fullordererrors");
|
|
|
}
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
@@ -610,6 +611,8 @@ class Fullordersmt extends Start_Controller {
|
|
|
$country = $this->country->find_all('1=1','id,name','name asc');//所有国家信息
|
|
|
$this->data['country'] = $country;
|
|
|
$this->data['user'] = $user;
|
|
|
+ $cs_num = $this->fullordererrors->find_count( "plat = 'fullordersmt' and error_type = 1 and (".rtrim($fgshop,'or'). " ) and error_time > '".(time()-90*24*3600)."'");
|
|
|
+ $this->data['cs_num'] = $cs_num;
|
|
|
$this->_Template('fullordersmt',$this->data);
|
|
|
}
|
|
|
|