소스 검색

feat(webforwarding): 添加 cc 字段到 WebForwarding 结构体

fusu 4 주 전
부모
커밋
0f1e3278a9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      internal/repository/webforwarding.go

+ 1 - 0
internal/repository/webforwarding.go

@@ -70,6 +70,7 @@ func (r *webForwardingRepository) EditWebForwarding(ctx context.Context, req *mo
 		"domain": req.Domain,
 		"is_https": req.IsHttps,
 		"proxy" : req.Proxy,
+		"cc" : req.Cc,
 	}
 	// 核心逻辑:
 	// 1. Model(req): 定位要更新的记录。