fix: 修改active app info接口

This commit is contained in:
余泓铮
2025-06-29 00:20:51 +08:00
parent 8ef9b86fd1
commit 4ce0178cfd

View File

@@ -341,7 +341,7 @@ func (wd *WDADriver) ActiveAppInfo() (info types.AppInfo, err error) {
// [[FBRoute GET:@"/wda/activeAppInfo"] respondWithTarget:self action:@selector(handleActiveAppInfo:)]
// [[FBRoute GET:@"/wda/activeAppInfo"].withoutSession
var rawResp DriverRawResponse
if rawResp, err = wd.Session.GET("/wda/activeAppInfo"); err != nil {
if rawResp, err = wd.Session.GET("/wings/activeAppInfo"); err != nil {
return types.AppInfo{}, err
}
reply := new(struct{ Value struct{ types.AppInfo } })