HandyJSON 自定义参数
2021-11-05 本文已影响0人
铁汁红豆
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
这个真的没法用
自己改一下吧