添加静态更新功能

master
Ycc 10 months ago
parent 3a392f881a
commit c2129c1f9b

@ -349,7 +349,7 @@
//ah跳转测试页面
function goto_ahtest_page() {
var site_url = 'https://proxy-www.asiahighlights.com';
var site_url = 'https://proxy-www.highlightstravel.com';
$('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
return true;
}
@ -759,7 +759,7 @@ function goto_ghtest_page() {
name="goto_test_page_button" target="_blank" title="查看测试页面"><i
class="glyphicon glyphtext-muted glyphicon glyphicon-random text-muted"></i></a>
<?php }?>
<?php if ($information->ic_sitecode == 'ah') {?>
<?php if ($information->ic_sitecode == 'htravel') {?>
<a href="javascript:void(0);" onclick="goto_ahtest_page();" id="goto_test_page_button"
name="goto_test_page_button" target="_blank" title="查看测试页面"><i
class="glyphicon glyphtext-muted glyphicon glyphicon-random text-muted"></i></a>
@ -2696,7 +2696,7 @@ function goto_ghtest_page() {
<input type="checkbox" name="ignore_url_check" id="ignore_url_check" />忽略URL重复
</label>
<div class="clearfix"></div>
<?php if (in_array($this->config->item('site_code'), ['ch', 'cht', 'gm', 'ah', 'jh', 'gh', 'ct', 'chinatravel', 'shanghai', 'beijing', 'trainspread', 'guilin', 'hly'])) {?>
<?php if (in_array($this->config->item('site_code'), ['ch', 'cht', 'gm', 'htravel', 'jh', 'gh', 'ct', 'chinatravel', 'shanghai', 'beijing', 'trainspread', 'guilin', 'hly'])) {?>
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">
<input type="checkbox" name="auto_update_cache_checkbox" id="auto_update_cache_checkbox"
onclick="get_update_cache_url();" value="<?php echo $information->ic_url; ?>" />静态更新

Loading…
Cancel
Save