module/flk/source/model/flk_shop_paypwd.model.php

(完整代码) 538B

<?php
class flk_shop_paypwdModel extends model{
	
	public $table="mod_flk_shop_paypwd";
	public function __construct(){
		parent::__construct();
	}
	public function get($shopid){
		$row=$this->selectRow("shopid=".$shopid);
		if(empty($row)){
			$this->insert(array(
				"shopid"=>$shopid
			));
			$row=$this->selectRow("shopid=".$shopid);
		}
		return $row;
	}
	
	public function check($shopid,$paypwd){
		$row=$this->get($shopid);
		if($row["paypwd"]!=umd5($paypwd)){
			return false;
		}
		return true;
	}
	
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。