Example #1
0
        public object Do_UpdatePointCommit(BaseApi baseApi)
        {
            UpdatePointCommitParam updatePointCommitParam = JsonConvert.DeserializeObject <UpdatePointCommitParam>(baseApi.param.ToString());

            if (updatePointCommitParam == null)
            {
                throw new ApiException(CodeMessage.InvalidParam, "InvalidParam");
            }

            RemoteDao remoteDao = new RemoteDao();

            if (!remoteDao.UpdatePointCommit(updatePointCommitParam.pointCommitId))
            {
                throw new ApiException(CodeMessage.UpdatePointCommitError, "UpdatePointCommitError");
            }

            return("");
        }