修改缘分匹配只显示一个城市
This commit is contained in:
parent
b6cef16f35
commit
28e9f4b29b
@ -134,8 +134,8 @@ createCustomMsg(String userId, String imId) async {
|
|||||||
List city = data['data']['both_cities'];
|
List city = data['data']['both_cities'];
|
||||||
print('城市'+city.toString());
|
print('城市'+city.toString());
|
||||||
if (city.isNotEmpty) {
|
if (city.isNotEmpty) {
|
||||||
desc = '你们都在${city.length > 1 ? city.join('、'): city.first}留下过足迹';
|
desc = '你们都在${city.first}留下过足迹';
|
||||||
cityStr = '你们都在${city.length > 1 ? city.join('、'): city.first}留下过足迹';
|
cityStr = '你们都在${city.first}留下过足迹';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user