Example #1
0
        public async Task <string> Save([FromBody] RequestSaveQrInfoModel model)
        {
            int qId = Convert.ToInt32(Decryption.MXR(model.QrCode));

            return
                (await
                 Task.FromResult(_toolHistory.SaveQrCodeStatistical(qId, model.PhoneType, model.Ip, model.Province, model.EnterType, model.CilentCookie)
                                 ? "ok"
                                 : "no"));
        }