class Model:HandyJSON{
var desc:String!
required init(){}
func mapping(mapper: HelpingMapper){
mapper <<<
self.desc <--"description"
}
}
服务器返回的参数是 description
这个真的没法用
自己改一下吧
class Model:HandyJSON{
var desc:String!
required init(){}
func mapping(mapper: HelpingMapper){
mapper <<<
self.desc <--"description"
}
}
服务器返回的参数是 description
这个真的没法用
自己改一下吧
本文标题:HandyJSON 自定义参数
本文链接:https://www.haomeiwen.com/subject/imqrzltx.html
网友评论