sendAction static method
发送操作请求 用于向服务器发送成员操作 通过HTTP请求与后端API交互
Implementation
static Future<TCICActionRepModel?> sendAction(ActionBody body) async {
var data = await HttpClient.post<TCICActionRepModel, ActionBody>(
api: "/v1/member/action",
body: body,
fromJson: TCICActionRepModel.fromJson,
);
TCICLog.info('HTTP sendAction ${data?.toJson()}',actionModule: ActionModule.memberService.name,actionName: ActionName.sendAction.name);
return data;
}