| | |
| | | var env = App.GetConfig<string>("Environment"); |
| | | if (env == "Product") |
| | | { |
| | | var json = request.ToJson(); |
| | | await httpRemoteService.PostAsStringAsync("http://localhost:5010/api/common/sms/smsAliyunNotify", |
| | | builder => builder.SetJsonContent(json)); |
| | | try |
| | | { |
| | | var json = request.ToJson(); |
| | | await httpRemoteService.PostAsStringAsync("http://118.178.252.28:8780/api/common/sms/smsAliyunNotify", |
| | | builder => builder.SetJsonContent(json)); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | } |
| | | |
| | | var templateCodes = await EnumUtils.GetModel<EnumSmsTemplateCode>(); |