feedBack static method
反馈
Implementation
static Future<DataResult> feedBack(
int type, String? suggest, List<String> picList, String? email) async {
Map other = {
'type': type,
'suggest': suggest ?? '',
'picList': picList,
'email': email ?? ''
};
var res = await BaseDao.fromBaseJson(other, Address.feedBack());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}