|
@@ -156,6 +156,15 @@ public class IndustryController : BaseController
|
|
|
[HttpPut("sms_template")]
|
|
|
public async Task UpdateSmsTemplateAsync([FromBody] UpdateSnapshotSMSTemplateInDto dto)
|
|
|
=> await _industryApplication.UpdateSMSTemplateAsync(dto);
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 短信详情
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="id"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpGet("sms_template/{id}")]
|
|
|
+ public async Task<SnapshotSMSTemplateItemsOutDto> GetSMSTemplateDetailAsync(string id)
|
|
|
+ => await _industryApplication.GetSMSTemplateDetailAsync(id);
|
|
|
#endregion
|
|
|
|
|
|
#region 区域从业人员
|
|
@@ -184,5 +193,15 @@ public class IndustryController : BaseController
|
|
|
[HttpDelete("practitioner")]
|
|
|
public async Task DeletePractitionerAsync([FromBody]IList<string> ids)
|
|
|
=> await _industryApplication.DeletePractitionerAsync(ids);
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 从业人员详情
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="id"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpDelete("practitioner/{id}")]
|
|
|
+ public async Task<PractitionerItemsOutDto> GetPractitionerAsync(string id)
|
|
|
+ => await _industryApplication.GetPractitionerAsync(id);
|
|
|
#endregion
|
|
|
}
|