diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 014e6d84..e3b2b50e 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -519,8 +519,9 @@ class Info_amp extends CI_Controller { $json = $this->input->get_post('json'); $icid = $this->input->get_post('icid'); + $action = $this->input->get_post('action') ? '_' . $this->input->get_post('action') : ''; if ($json && $icid) { - $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY'); + $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY' . $action); echo json_encode(array( "succ" => true, "info" => $this->Logs_model->pick_backup_meta($code) diff --git a/application/models/infoaccessmanage_model.php b/application/models/infoaccessmanage_model.php index 70e95b82..6efcf0f2 100644 --- a/application/models/infoaccessmanage_model.php +++ b/application/models/infoaccessmanage_model.php @@ -5,7 +5,8 @@ class infoAccessmanage_model extends CI_Model function __construct() { parent::__construct(); - $this->HT = $this->load->database('HT', TRUE); + $this->HT = $this->load->database('INFORMATION', TRUE); + $this->HT229 = $this->load->database('HT', TRUE); } //获取用户结构列表 @@ -19,7 +20,7 @@ class infoAccessmanage_model extends CI_Model iam_author FROM infoaccessmanage INNER JOIN infoStructures is1 ON iam_is_id = is1.is_id - LEFT JOIN OperatorInfo ON iam_author=OPI_Code + LEFT JOIN tourmanager.dbo.OperatorInfo ON iam_author=OPI_Code ORDER BY is1.is_level ASC, is1.is_sort ASC, is1.is_path ASC"; @@ -408,7 +409,7 @@ class infoAccessmanage_model extends CI_Model $undefined_sql="AND OPI_Code NOT IN (SELECT iam_author FROM infoaccessmanage)"; } $sql = "SELECT * FROM OperatorInfo WHERE DeleteFlag=0 $undefined_sql"; - $query = $this->HT->query($sql); + $query = $this->HT229->query($sql); return $query->result(); } @@ -427,7 +428,7 @@ class infoAccessmanage_model extends CI_Model $undefined_sql.=" AND a_id NOT IN ($authors)"; } - $sql = "SELECT * FROM infoAuthors $undefined_sql"; + $sql = "SELECT * FROM tourmanager.dbo.infoAuthors $undefined_sql"; $query = $this->HT->query($sql); return $query->result(); } diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index 6dafe3e4..38b9944c 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -4,7 +4,7 @@

For a quick conversation, simply reach us via WhatsApp:

-
asia highlights' wechat code +
Asia Highlights' wechat code
+86 15807734776
Email: contact@asiahighlights.com
@@ -25,7 +25,7 @@ - +