selfStatusReport static method
自己状态上报 用于上报自己的状态 通过HTTP请求与后端API交互
Implementation
static Future<TCICStateReportBodyRepModel?> selfStatusReport(StateReportBody body) async {
var data = await HttpClient.post<TCICStateReportBodyRepModel, StateReportBody>(
api: "/v1/member/stateReport",
body: body,
fromJson: TCICStateReportBodyRepModel.fromJson,
);
TCICLog.info('HTTP selfStatusReport ${data?.toJson()}',actionModule: ActionModule.memberService.name,actionName: ActionName.selfStatusReport.name);
return data;
}