Customer_728

This commit is contained in:
dengbw
2022-07-28 13:56:35 +08:00
parent 82cb12a9e1
commit 25a188a4f4
3 changed files with 319 additions and 247 deletions
File diff suppressed because it is too large Load Diff
@@ -60,7 +60,7 @@ class Customerlogs extends Wxapp
$rec_row['duration'] && $second = intval($rec_row['duration'] / 1000);
}
$comments = [];
$res = $this->mdComments->select(['pid' => $val['id'], 'status' => 1, 'type' => 0], 'id desc', 0, 0
$res = $this->mdComments->select(['pid' => $val['id'], 'status' => 1, 'type' => 0], 'id asc', 0, 0
, 'uname,content');
foreach ($res as $key2 => $val2) {
$comments[] = [
+1 -2
View File
@@ -34,7 +34,6 @@ class Employees extends Wxapp
public function get_leave()
{
$id = $this->input_param('id');
$id = 21;
if (!$id) {
throw new Exception('参数错误', ERR_PARAMS_ERROR);
}
@@ -61,7 +60,7 @@ class Employees extends Wxapp
$out_id = $this->input_param('out_id');
$in_id = $this->input_param('in_id');
$transfer = $this->input_param('transfer');
if (!$out_id || $in_id || !$transfer) {
if (!$out_id || !$in_id || !$transfer) {
throw new Exception('参数错误', ERR_PARAMS_ERROR);
}
$this->load->model('receiver/receiver_customers_model', 'mdCustomer');