zoukankan      html  css  js  c++  java
  • 调试遇到的问题

    1. client.PostAsJsonAsync(url, postData).Result  这里的PostData 不要做任何的转换,自作聪明的转换导致那边结果老是出错;

        下面是错误历程

                //string l_strPostData = JsonConvert.SerializeObject(input);
                //string l_stre = HttpUtility.UrlDecode(HttpUtility.UrlEncode(l_strPostData));
                //string temp = l_strPostData.Replace("\", "\\");
                //Console.WriteLine(temp);
                //temp = temp.Replace(""", "'");
                //temp = temp.Substring(1);
                //temp = temp.Substring(0, temp.Length - 1);

    2.数据库设计默认规则:

    a.当表示顺序的适合,0在前面1在后面比如男女;

    b.当表示优先级别的适合 0>1>2>3;

    c.表示是否可用的适合,0表示不可用,1表示可用;对应bool 中的true  和 false

    c.当表示大小的适合时候  3>2>1>0

  • 相关阅读:
    Python中怎么使用(冒泡排序)?
    Python中怎么定义与调用(函数)
    简易购物商城(1.0)版本
    非空即真 和 切片 处理方式
    python模块-random
    内置函数
    多维数组
    函数扩展
    文件操作扩展2
    文件操作扩展
  • 原文地址:https://www.cnblogs.com/maanshancss/p/5704030.html
Copyright © 2011-2022 走看看