|
@@ -396,15 +396,27 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
#region 团组前期信息
|
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 团组前期信息 Init
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
- [HttpGet]
|
|
|
+ [HttpGet("{userId}")]
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
- public async Task<IActionResult> GroupOrderPreInfo()
|
|
|
+ public async Task<IActionResult> GroupOrderPreInfoList(int userId)
|
|
|
{
|
|
|
- return Ok(await _grpOrderPreInfoRep.DataInit());
|
|
|
+ return Ok(await _grpOrderPreInfoRep.DataInit(userId));
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 团组前期信息 Init
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpGet("{userId}")]
|
|
|
+ [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
+ public async Task<IActionResult> GroupOrderPreInfo(int userId)
|
|
|
+ {
|
|
|
+ return Ok(await _grpOrderPreInfoRep.DataInit(userId));
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
@@ -427,7 +439,6 @@ namespace OASystem.API.Controllers
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
public async Task<IActionResult> CityByCountry(string countryLabel)
|
|
|
{
|
|
|
-
|
|
|
countryLabel=HttpUtility.UrlDecode(countryLabel);
|
|
|
var countryList = countryLabel.Split(',', StringSplitOptions.RemoveEmptyEntries).ToArray();
|
|
|
var citys = Array.Empty<string?>();
|