/** * 登录 * * 请求参数 是否必须 类型(示例) 说明 * accountid true string(cuihb) 登录的用户名 * pwd true string 用户密码 * * @return number 1/0 */ public function doLogin() { $username = $this->toStr('accounid'); $password = $this->toStr('pwd'); return Muser::userAuth($username, $password); }