Customer_728
This commit is contained in:
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[] = [
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user