kazelee
2025-05-13 78603aecf895b2615ea5bdc1908b54c0f01a1880
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
using static HH.WCS.Mobox3.AnGang.Dtos.Response.MoboxResponse;
 
namespace HH.WCS.Mobox3.AnGang.Helpers {
    public class ResultHelper {
        public static SimpleResult BuildSimpleResult(int code, string message, bool pringLog = true) {
            if (pringLog) {
                LogHelper.Info(message);
            }
            return new SimpleResult { Code = code, Message = message };
        }
    }
}