摘要: 用 C# 实现一个简单的 Restful Service 供外部调用,大体总结为4点:The service contract (the methods it offers).How do you know which one to access from the URL given (URL Ro... 阅读全文
posted @ 2014-05-22 14:33 Eric Sun 阅读(23204) 评论(3) 推荐(1) 编辑
摘要: 闲言少叙,直接上代码(Apex Class 中的方法): private string ConvertToMoneyFormat(decimal price){ if (price == null || Math.abs(price) = 0 ? 0.001 : -0.001))... 阅读全文
posted @ 2014-05-22 14:25 Eric Sun 阅读(638) 评论(0) 推荐(0) 编辑