|
@@ -10,18 +10,21 @@
|
|
|
|
|
|
|
|
<?php
|
|
<?php
|
|
|
$host = $_SERVER['HTTP_HOST'];
|
|
$host = $_SERVER['HTTP_HOST'];
|
|
|
-$api = substr($host,strpos($host,'.')+1);
|
|
|
|
|
-echo $api;
|
|
|
|
|
|
|
+$xhbApi = substr($host,strpos($host,'.')+1);
|
|
|
|
|
+if($xhbApi == 'wixhb.com'){
|
|
|
|
|
+ $hhbApi = 'huahb.cn';
|
|
|
|
|
+}else{
|
|
|
|
|
+ $hhbApi = 'huaml.com';
|
|
|
|
|
+}
|
|
|
?>
|
|
?>
|
|
|
-
|
|
|
|
|
<div style="text-align:center;margin-top:100px;">
|
|
<div style="text-align:center;margin-top:100px;">
|
|
|
<a style="margin:0 auto;display:inline-block;border:none;padding:8px 15px;border-radius:16px;color:white;background-color:#3385FF;text-decoration:none"
|
|
<a style="margin:0 auto;display:inline-block;border:none;padding:8px 15px;border-radius:16px;color:white;background-color:#3385FF;text-decoration:none"
|
|
|
- href="/apk/1.0.4.apk">销花宝APP</a>
|
|
|
|
|
|
|
+ href="https://api.shop.<?php echo $xhbApi; ?>/apk/1.0.4.apk">销花宝APP</a>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div style="text-align:center;margin-top:100px;">
|
|
<div style="text-align:center;margin-top:100px;">
|
|
|
<a style="margin:0 auto;display:inline-block;border:none;padding:8px 15px;border-radius:16px;color:white;background-color:#3385FF;text-decoration:none"
|
|
<a style="margin:0 auto;display:inline-block;border:none;padding:8px 15px;border-radius:16px;color:white;background-color:#3385FF;text-decoration:none"
|
|
|
- href="/apk/1.0.4.apk">花惠宝APP</a>
|
|
|
|
|
|
|
+ href="https://api.shop.<?php echo $hhbApi; ?>/apk/1.0.4.apk">花惠宝APP</a>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</body>
|