コード例 #1
0
ファイル: PointsDetail.cs プロジェクト: huaminglee/myyyyshop
 public string GetActionName(string action)
 {
     if (action == "Use")
     {
         return "积分消费";
     }
     if (action == "Buy")
     {
         return "购买商品";
     }
     Maticsoft.Model.Members.PointsRule model = new Maticsoft.BLL.Members.PointsRule().GetModel(action);
     if (model != null)
     {
         return model.Name;
     }
     return "";
 }
コード例 #2
0
 public string GetRuleName(string RuleAction)
 {
     Maticsoft.BLL.Members.PointsRule rule = new Maticsoft.BLL.Members.PointsRule();
     return rule.GetRuleName(RuleAction);
 }