|
|
@@ -215,8 +215,8 @@ namespace Learun.Application.WebApi |
|
|
|
} |
|
|
|
//图片保存的文件夹地址 |
|
|
|
string FileEextension = ".png"; |
|
|
|
string directoryPathOfEmp = string.Format("{0}/{1}/{2}", Config.GetValue("AnnexesFile"), "根据身份证号更新照片接口","教师照片"); |
|
|
|
string directoryPathOfStu = string.Format("{0}/{1}/{2}", Config.GetValue("AnnexesFile"), "根据身份证号更新照片接口","学生照片"); |
|
|
|
string directoryPathOfEmp = string.Format("{0}/{1}/{2}", Config.GetValue("AnnexesFile"), "ApiOfUpdatePhotoByIdCard", "Teacher"); |
|
|
|
string directoryPathOfStu = string.Format("{0}/{1}/{2}", Config.GetValue("AnnexesFile"), "ApiOfUpdatePhotoByIdCard", "Student"); |
|
|
|
if (!Directory.Exists(directoryPathOfEmp)) |
|
|
|
{ |
|
|
|
Directory.CreateDirectory(directoryPathOfEmp); |
|
|
|