| | |
| | | loginfo.ReturnMsg( e.GeneralInformation() ); |
| | | } |
| | | } |
| | | if( loginfo.Name() = Translations::InterfaceDataset_ActualDailyProductionData_Name() ){//生产实际数据 |
| | | |
| | | httpinterface.URL( Translations::InterfaceDataset_ActualDailyProductionData_URL() ); |
| | | httpinterface.MediaType( Translations::InterfaceDataset_ContentType() ); |
| | | httpinterface.PostMethod( true ); |
| | | try{ |
| | | httpinterface.AddHeader("Authorization",InterfaceLoginfo::CallToken()) |
| | | |
| | | httpinterface.Call( loginfo.RequestBody() ); |
| | | |
| | | result := httpinterface.Result(); |
| | | loginfo.Response( result ); |
| | | loginfo.Success( true ); |
| | | }onerror{ |
| | | loginfo.ReturnMsg( e.GeneralInformation() ); |
| | | } |
| | | } |
| | | |
| | | //后续公共处理 |
| | | loginfo.FinishTime( DateTime::ActualTime() ); |
| | | data := JSON::Null().Build(); |