Skip to content

Commit c7771fb

Browse files
author
jay
committed
增加注释
1 parent 2f598db commit c7771fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Document/Captcha/CaptchaDocument.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public function generateAction()
3030
->setUrl('/generate')
3131
->addParam('captcha', '业务类型', 'string', false, 'captcha', '根据业务中Api说明传参')
3232
->addParam('format', '图形验证码格式', 'string', true,'', 'base64, 返回base64图形码')
33-
->setReturn('image')
33+
->setReturnType('file')
34+
->setReturn('图片流')
3435
->generate();
3536
}
3637
}

0 commit comments

Comments
 (0)