摘要: he 'Access-Control-Allow-Origin' header contains multiple values ', *', but only one is allowed. Origin 'http://' is therefore not allowed acce 原因是api 阅读全文
posted @ 2018-10-18 19:00 ☆♂安♀★ 阅读(262) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// WCF服务端异常处理器 /// </summary> public class WCF_ExceptionHandler : IErrorHandler { public bool HandleError(Exception error) { return tru 阅读全文
posted @ 2018-09-18 16:13 ☆♂安♀★ 阅读(231) 评论(0) 推荐(0) 编辑
摘要: using Newtonsoft.Json;using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Http;using System.Text;using S 阅读全文
posted @ 2018-09-17 16:55 ☆♂安♀★ 阅读(300) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="Handle History Mode and custom 404/500" stopPro 阅读全文
posted @ 2018-09-01 11:17 ☆♂安♀★ 阅读(322) 评论(0) 推荐(0) 编辑
摘要: type:"order-handler-wcf-error" AND message:"代扣失败" 多查询的连接“AND”一定要大写 左侧是查询的列 阅读全文
posted @ 2018-05-11 18:13 ☆♂安♀★ 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 原来IDFA(IOS推广获取到用户IOS手机的唯一标识,如果不刷机的话跟安卓的IMEI一样)在公司正常的页面是公用用一个网站和数据库的。 起初怀疑并发数太多,把数据库连接池的数量从一百设置到三百,确实有点反应,但是支持不到一天就又报错。 查看了webapi连接wcf很多都超时,一台api和wcf不够 阅读全文
posted @ 2018-02-08 21:14 ☆♂安♀★ 阅读(600) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 数字转换中文繁体金钱 /// </summary> /// <param name="Digital"></param> /// <returns></returns> public static string ConvertChineseMoney(decima 阅读全文
posted @ 2018-01-09 16:29 ☆♂安♀★ 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 了解IDFA,看我这篇文章就够了双11剁手后,我静静的限制了广告追踪 今年双11爆了,据统计,全天交易额1207亿,移动端占比82%,在马云的持续教育和移动端的爆发下,用户在移动端消费的习惯已经不可逆转! 然而,另外一个大家无法忽视的问题就是:个人隐私。我在《App推广实战(含ASO)》视频课程中详 阅读全文
posted @ 2017-10-13 21:45 ☆♂安♀★ 阅读(7868) 评论(0) 推荐(0) 编辑
摘要: 第一种:新建批处理文件 backup.dat,里面输入以下代码: 注意:批处理命令中路径里有空格的话,必须在路径上加上双引号!然后使用Windows的"计划任务"定时执行该批处理脚本即可。(例如:每天凌晨3点执行backup.bat)解释:备份和恢复的操作都比较简单,完整性比较高,控制备份周期比较灵 阅读全文
posted @ 2017-08-06 15:07 ☆♂安♀★ 阅读(226) 评论(0) 推荐(0) 编辑
摘要: [System.OutOfMemoryException] {函数求值已禁用,因为出现内存不足异常。 StringBuilder 赋值的时候超过内存的大小,要即时去清空文本的值。 也可能是DataSet暂用内存多大,要即时清空,即DataSet=null; 阅读全文
posted @ 2017-06-24 14:56 ☆♂安♀★ 阅读(2628) 评论(0) 推荐(0) 编辑