|
|
|
@ -77,6 +77,7 @@ class SsgController extends BaseController {
|
|
|
|
|
if (!$verify->check(I("VerifyCode"))) {
|
|
|
|
|
$this->ajaxReturn(array("ErrorCode" => -97, "ResultMsg" => "验证码错误"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$userApi = new MemberApi();
|
|
|
|
|
$user_id = $userApi->login($account, $password,1);//调用登录
|
|
|
|
|
$res_code = 0;
|
|
|
|
@ -124,6 +125,8 @@ class SsgController extends BaseController {
|
|
|
|
|
'imageW' => 107, // 验证码图片宽度
|
|
|
|
|
'length' => 4, // 验证码位数
|
|
|
|
|
'fontttf' => '4.ttf', // 验证码字体,不设置随机获取
|
|
|
|
|
'useCurve' => false, // 是否画混淆曲线
|
|
|
|
|
'useNoise' => false, // 是否添加杂点
|
|
|
|
|
'useCurve' => false,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|