mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-10 02:08:11 -06:00
Fix VIP form URL
This commit is contained in:
2
api.go
2
api.go
@@ -194,7 +194,7 @@ func GetForm(id uint) GetFormResult {
|
|||||||
|
|
||||||
func GetVipForm(id uint, guestCode string) GetFormResult {
|
func GetVipForm(id uint, guestCode string) GetFormResult {
|
||||||
body := fmt.Sprintf("propertyIdSelected=%d&propertySource=parking-snap&guestCode=%s", id, guestCode)
|
body := fmt.Sprintf("propertyIdSelected=%d&propertySource=parking-snap&guestCode=%s", id, guestCode)
|
||||||
req := BuildRequestWithBody("POST", "/register-get-vehicle-form", nil, bytes.NewBufferString(body))
|
req := BuildRequestWithBody("POST", "/register-get-vip-vehicle-form", nil, bytes.NewBufferString(body))
|
||||||
SetTypicalHeaders(req, nil, nil, false)
|
SetTypicalHeaders(req, nil, nil, false)
|
||||||
|
|
||||||
res, _ := doRequest(req)
|
res, _ := doRequest(req)
|
||||||
|
|||||||
Reference in New Issue
Block a user