コード例 #1
0
ファイル: HiPOSAPI.cs プロジェクト: spiltservice/cloudshop
        private void CheckHiPOSAuthqr(HttpContext context)
        {
            DataTable needActivation = StoresHelper.GetNeedActivation();

            if (needActivation.Rows.Count > 0)
            {
                string        text          = needActivation.Rows[0]["StoreHiPOSId"].ToNullString();
                string        text2         = needActivation.Rows[0]["Alias"].ToNullString();
                int           num           = needActivation.Rows[0]["Status"].ToInt(0);
                StringBuilder stringBuilder = new StringBuilder();
                stringBuilder.Append("{\"Status\":" + num + ",\"StoreHiPOSId\":" + text + ",\"Alias\":\"" + text2 + "\"}");
                context.Response.Write(stringBuilder.ToString());
            }
        }