时间:2021-07-01 10:21:17 帮助过:37人阅读
public function register(){
if($this->isPost()) {
$Mem=D('Member');
if( $Mem->Create()) {
if($Mem->add())
echo $Mem->getLastSql();
$this->assign('waitSecond',3);
$this->success("注册成功","__APP__/Member/login"); }
public function xinxixiugai(){
if($this->isPost())
{
$Model=D('Member');
$password=$_POST['password'];
$tel=$_POST['tel'];
$address=$_POST['address'];
if($Model->Update($password,$tel,$address))
{ $this->success("更新成功",__APP__/Space/index);}
else
echo $Model->getError();
}