POST api/TMSApp/AuthUser/CheckForUpdate?currentVer={currentVer}&platForm={platForm}&appName={appName}&userID={userID}&thirdVer={thirdVer}

检查版本更新的统一接口

Request Information

URI Parameters

NameDescriptionTypeAdditional information
currentVer

当前用户版本号

string

Required

platForm

平台:IOS,Android

string

Required

appName

app名称:TMSApp,DriverApp,CarManageApp,EFLOWApp,PDAApp

string

Required

userID

用户ID

integer

Required

thirdVer

第三方版本号:IOS填App Store里最新的版本号,Android不填写

string

Required

Body Parameters

None.

Response Information

Resource Description

检查版本更新的统一接口

MsgBaseApiPageOfUpdateAction
NameDescriptionTypeAdditional information
Status

返回状态0:失败,1:成功

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

UpdateAction

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": {
    "UpdateFlag": 1,
    "ForceFlag": 2,
    "newFeature": "sample string 3",
    "appLink": "sample string 4"
  }
}