protected final function signinExecute(MUser $me) { $shop = $me->getShop(); $respondJson = $this->ajaxExecute($me, $shop); DAssert::assert($respondJson instanceof MJsonRespond, 'illegal json respond'); $this->displayJson($respondJson); }
public final function execute() { $respondJson = $this->ajaxExecute(); DAssert::assert($respondJson instanceof MJsonRespond, 'illegal json respond'); $this->displayJson($respondJson); }
public static function getUserVerifycode($uid) { DAssert::assertIntNumeric($uid); $sql = "SELECT verifycode\r\n FROM user_verification\r\n WHERE uid={$uid}"; return self::rs2firstvalue($sql); }