lvhao 1 month ago
parent
commit
ce15ca93d0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      core/CoreApp/controllers/User.php

+ 4 - 0
core/CoreApp/controllers/User.php

@@ -23,6 +23,7 @@ class User extends Start_Controller
 		$this->load->_model('Model_customertt', 'customertt');
 		$this->load->_model('Model_customertt', 'customertt');
 		$this->load->_model('Model_allocation', 'allocation');
 		$this->load->_model('Model_allocation', 'allocation');
 		$this->load->_model('Model_fullorderamz', 'fullorderamz');
 		$this->load->_model('Model_fullorderamz', 'fullorderamz');
+		$this->load->_model("Model_logic_ding","logic_ding");
 	}
 	}
 	//定义方法的调用规则 获取URI第二段值
 	//定义方法的调用规则 获取URI第二段值
 	public function _remap($arg, $arg_array)
 	public function _remap($arg, $arg_array)
@@ -299,6 +300,9 @@ class User extends Start_Controller
 				}
 				}
 				$sid .= " id = " . $value . " or";
 				$sid .= " id = " . $value . " or";
 			}
 			}
+			if(empty($fgshop)){
+				$this->logic_ding->sendToDing("用户统计页面的店铺为空,请检查!".json_encode($user));
+			}
 		}
 		}
 		$post = $this->input->post(NULL, TRUE);
 		$post = $this->input->post(NULL, TRUE);
 		if (isset($post['timek'])) {
 		if (isset($post['timek'])) {