|
@@ -433,11 +433,11 @@ func CurlEducateSceneTokenCreateForApplet(args md.CurlEducateSceneTokenReq) (err |
|
|
Msg string `json:"msg"` |
|
|
Msg string `json:"msg"` |
|
|
Data interface{} `json:"data"` |
|
|
Data interface{} `json:"data"` |
|
|
} |
|
|
} |
|
|
utils.FilePutContents("CurlEducateSceneTokenCreateForApplet", utils.SerializeStr(result)) |
|
|
|
|
|
err = json.Unmarshal(bytes, &result) |
|
|
err = json.Unmarshal(bytes, &result) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
utils.FilePutContents("CurlEducateSceneTokenCreateForApplet", utils.SerializeStr(result)) |
|
|
if result.Code != 0 { |
|
|
if result.Code != 0 { |
|
|
if result.Msg != "" { |
|
|
if result.Msg != "" { |
|
|
err = errors.New(result.Msg) |
|
|
err = errors.New(result.Msg) |
|
|