PHP预约上门回收废品系统的代码披露

PHP预约上门回收废品系统的代码披露

php 复制代码
<?php

namespace app\admin\controller;

class Code
{
	public function getTopDomainhuo()
	{
		error_reporting(0);
		$host = $_SERVER["HTTP_HOST"];
		$matchstr = "[^\\.]+\\.(?:(" . $host . ")|\\w{2}|((" . $host . ")\\.\\w{2}))\$";
		if (preg_match("/" . $matchstr . "/ies", $host, $matchs)) {
			$domain = $matchs[0];
		} else {
			$domain = $host;
		}
		return $domain;
	}
	public function domain()
	{
		return true;
	}
}
error_reporting(0);
function getTopDomainhuo(){
		$host=$_SERVER['HTTP_HOST'];
		
		$matchstr="[^\.]+\.(?:(".$str.")|\w{2}|((".$str.")\.\w{2}))$";
		if(preg_match("/".$matchstr."/ies",$host,$matchs)){
			$domain=$matchs['0'];
		}else{
			$domain=$host;
		}
		return $domain;

}
html 复制代码
<view class="loginImg" style="{{'background-image:'+'url('+system.admin_background+')'+';'}}">
    <view style="margin:60rpx 0rpx 170rpx 76rpx;">
        <image class="logo-img" src="{{system.logo}}"></image>
        <view class="welcome-text">欢迎使用管理系统</view>
    </view>
    <view class="flex-column-center">
        <view style="width:80%;">
            <view style="margin-bottom:60rpx;">
                <view class="account-text">管理员账号</view>
                <view class="account-input">
                    <input bindinput="__e" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','account','$event',[] ] ] ] ] ]}}" placeholder="请输入您的管理员账号" placeholderStyle="font-size:28rpx;color:#C9CACA;" value="{{account}}"></input>
                </view>
            </view>
            <view>
                <view class="account-text">管理员密码</view>
                <view class="account-input">
                    <input bindinput="__e" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','password','$event',[] ] ] ] ] ]}}" placeholder="请输入您的管理员密码" placeholderStyle="font-size:28rpx;color:#C9CACA;" type="password" value="{{password}}"></input>
                </view>
            </view>
        </view>
        <view bindtap="__e" class="quickly-login flex" data-event-opts="{{[ [ 'tap',[ ['quicklyLogin'] ] ] ]}}">立即登录</view>
    </view>
</view>







相关推荐
shix .23 分钟前
最近 | 黄淮教务 | 小工具合集
前端·javascript
John_ToDebug34 分钟前
Chrome 内置扩展 vs WebUI:浏览器内核开发中的选择与实践
前端·c++·chrome
烛阴1 小时前
解锁动态键:TypeScript 索引签名完全指南
前端·javascript·typescript
阿雄不会写代码1 小时前
AWS OpenSearch 是什么
云计算·aws
智慧源点1 小时前
阿里云RDS MySQL数据归档全攻略:方案选择指南
阿里云·云计算
m0_748254091 小时前
阿里云详解:与 AWS、GCP 的全方位比较
阿里云·云计算·aws
雨白1 小时前
Android 自定义 View:从绘制基础到实战仪表盘与饼图
android
jiunian_cn2 小时前
【Linux】线程
android·linux·运维·c语言·c++·后端
上单带刀不带妹2 小时前
ES6 中的 Proxy 全面讲解
前端·ecmascript·es6·proxy
武汉誉天2 小时前
学云计算还是网络,选哪个好?
网络·云计算