Ver código fonte

h5用户信息添加版本号

南鑫林 5 anos atrás
pai
commit
334b379395

+ 1 - 0
RainbowPlanet/RainbowPlanet/Model/UserModel/UserModel.swift

@@ -193,6 +193,7 @@ public class UserModel : NSObject, NSCoding, Mappable{
         let userModel = getModel()
         var userInfoDic = Dictionary<String,Any>()
         userInfoDic.updateValue("userInfo", forKey: "type")
+        userInfoDic.updateValue(AppInfo.clientVersion, forKey: "version")
         userInfoDic.updateValue(userModel?.toJSON() as Any, forKey: "params")
         return userInfoDic
     }