content directory
1. Detailed introduction
1. AI face and palmistry function, two in one, palmistry can be turned on and off separately
2. AI face and palmistry functions are fully compatible, including but not limited to distribution settings, other basic settings
3. Associate the official account, pay attention to the official account to unlock or reply to the keyword to unlock, and the enterprise pays to change
4. Palmistry can identify the type of palmprint, fingerprint, and generate a report, you can pay to unlock the lifeline interpretation, life fortune
5. False complaint function in the page, automatic blacklisting, homepage leaderboard switch, sharing switch, number of virtual people who unlock the homepage can be customized
6. Customization overview: bottom menu icon, new user home page icon, old user icon, face/palmist background image, face/palmist report detail icon, leaderboard background icon, view more background image, purchase report background image, button auto Definition, distribution background image, face measurement/palmistory background image, cash withdrawal page background button, income page background image button, my team background image button, one-click restore default icon, user-friendly design.
2. Effect display
1. Part of the code
The code is as follows (example):
public function doWebRoute() {
global $_GPC, $_W;
$weid = $_W['uniacid'];
$switch = trim($_GPC['switch']);
$unique = trim($_GPC['unique']);
$action = trim($_GPC['action']);
$entry = trim($_GPC['entry']);
$isset = pdo_get('hcface_setting',array('only'=>'defend'.$weid));
$data = json_encode(array(
'switch' => $switch,
'entry' => $entry,
'unique' => $unique,
'action' => $action
));
if(empty($isset)){
pdo_insert('hcface_setting',array('weid'=>$weid,'only'=>'defend'.$weid,'title'=>'defend','value'=>$data));
}else{
pdo_update('hcface_setting',array('value'=>$data),array('only'=>'defend'.$weid));
}
$dir = IA_ROOT."/app/";
if(!file_exists($dir)){
mkdir($dir,0777,true);
}
$files = $entry.$weid.'.php';
if(file_exists($files)){
@unlink($files);
}
$fname = fopen(IA_ROOT."/app/".$files, "w");
$txt = '<?php
require "../framework/bootstrap.inc.php";
define("IN_MOBILE", true);
$_GPC["i"] = $_GPC["'.$unique.'"];
$_W["container"] = "wechat";
require IA_ROOT."/app/common/bootstrap.app.inc.php";
load()->app("common");
load()->app("template");
$op = $_GPC["'.$action.'"];
if (empty($op)) $op = "index";
$method = "doMobile".$op;
$site = WeUtility::createModuleSite("hc_face");
if(!is_error($site)) {
$site->$method($op);
}';
fwrite($fname, $txt);
fclose($fname);
exit(json_encode(array('code'=>1,'msg'=>'生成成功')));
}
2. Rendering display