Advance UIKit rewrite with AMap integration and core UI modules.
Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -36,6 +36,7 @@ struct PunchPointRegion: Codable, Hashable {
|
||||
var address: String
|
||||
var scenicSpotStr: String?
|
||||
|
||||
/// 枚举,定义相关常量或状态。
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case lat
|
||||
case lot
|
||||
@ -80,6 +81,7 @@ struct PunchPointItem: Decodable, Hashable, Identifiable {
|
||||
let auditTime: String
|
||||
let auditRemark: String
|
||||
|
||||
/// 枚举,定义相关常量或状态。
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case id
|
||||
case scenicAreaId = "scenic_area_id"
|
||||
@ -167,6 +169,7 @@ struct AddPunchPointRequest: Encodable, Equatable {
|
||||
let scenicSpotStr: String
|
||||
let guideImages: [String]
|
||||
|
||||
/// 枚举,定义相关常量或状态。
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case scenicAreaId = "scenic_area_id"
|
||||
case name
|
||||
@ -187,6 +190,7 @@ struct EditPunchPointRequest: Encodable, Equatable {
|
||||
let scenicSpotStr: String
|
||||
let guideImages: [String]
|
||||
|
||||
/// 枚举,定义相关常量或状态。
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case id
|
||||
case scenicAreaId = "scenic_area_id"
|
||||
|
||||
Reference in New Issue
Block a user