Merge pull request #562 from imlida/lida
Fix ProcessCaptcha parameter bug
This commit is contained in:
commit
8d55167490
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ func ProcessCaptcha(process *process.Process) interface{} {
|
||||||
option := CaptchaOption{
|
option := CaptchaOption{
|
||||||
Width: any.Of(process.ArgsURLValue(0, "width", "240")).CInt(),
|
Width: any.Of(process.ArgsURLValue(0, "width", "240")).CInt(),
|
||||||
Height: any.Of(process.ArgsURLValue(0, "height", "80")).CInt(),
|
Height: any.Of(process.ArgsURLValue(0, "height", "80")).CInt(),
|
||||||
Length: any.Of(process.ArgsURLValue(0, "height", "6")).CInt(),
|
Length: any.Of(process.ArgsURLValue(0, "length", "6")).CInt(),
|
||||||
Type: process.ArgsURLValue(0, "type", "math"),
|
Type: process.ArgsURLValue(0, "type", "math"),
|
||||||
Background: process.ArgsURLValue(0, "background", "#FFFFFF"),
|
Background: process.ArgsURLValue(0, "background", "#FFFFFF"),
|
||||||
Lang: process.ArgsURLValue(0, "lang", "zh"),
|
Lang: process.ArgsURLValue(0, "lang", "zh"),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue