RelationClassForConst.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using MySystem.Models;
  5. namespace MySystem
  6. {
  7. public class RelationClassForConst
  8. {
  9. public static string GetMerchantTypeInfo(int key)
  10. {
  11. string result = "";
  12. switch (key)
  13. {
  14. case 0:
  15. result = "非商户型合伙人";
  16. break;
  17. case 1:
  18. result = "商户型合伙人";
  19. break;
  20. }
  21. return result;
  22. }
  23. public static string GetChangeTypeInfo(int key)
  24. {
  25. string result = "";
  26. switch (key)
  27. {
  28. case 0:
  29. result = "激活奖励";
  30. break;
  31. case 1:
  32. result = "交易分润";
  33. break;
  34. case 11:
  35. result = "月月红";
  36. break;
  37. case 12:
  38. result = "交易奖励";
  39. break;
  40. case 2:
  41. result = "提现申请";
  42. break;
  43. case 3:
  44. result = "提现代付";
  45. break;
  46. case 4:
  47. result = "提现手续费";
  48. break;
  49. case 5:
  50. result = "提现税点扣除";
  51. break;
  52. case 6:
  53. result = "提现失败,解冻";
  54. break;
  55. case 61:
  56. result = "系统冻结";
  57. break;
  58. case 62:
  59. result = "系统解冻";
  60. break;
  61. case 63:
  62. result = "系统扣减";
  63. break;
  64. case 64:
  65. result = "系统奖励";
  66. break;
  67. case 7:
  68. result = "系统扣除";
  69. break;
  70. case 10:
  71. result = "办卡奖励";
  72. break;
  73. case 20:
  74. result = "余额支付";
  75. break;
  76. case 21:
  77. result = "余额退款";
  78. break;
  79. case 22:
  80. result = "余额退款手续费";
  81. break;
  82. case 30:
  83. result = "红包奖励";
  84. break;
  85. case 31:
  86. result = "活动奖励";
  87. break;
  88. case 40:
  89. result = "商户达标返";
  90. break;
  91. case 50:
  92. result = "开机奖励";
  93. break;
  94. case 60:
  95. result = "流量卡分佣";
  96. break;
  97. case 111:
  98. result = "分润补贴";
  99. break;
  100. case 112:
  101. result = "推荐奖励";
  102. break;
  103. case 113:
  104. result = "招商节奖励";
  105. break;
  106. case 114:
  107. result = "私董会分红";
  108. break;
  109. case 115:
  110. result = "分仓奖励";
  111. break;
  112. case 116:
  113. result = "大盟主奖励";
  114. break;
  115. case 117:
  116. result = "大盟主奖励(储蓄金入账)";
  117. break;
  118. case 118:
  119. result = "大盟主奖励(购机奖励)";
  120. break;
  121. case 119:
  122. result = "分仓临时额度退还";
  123. break;
  124. case 124:
  125. result = "扣机具货款";
  126. break;
  127. case 125:
  128. result = "软件服务费";
  129. break;
  130. case 126:
  131. result = "机具货款退还";
  132. break;
  133. }
  134. return result;
  135. }
  136. public static string GetTradeTypeInfo(int key)
  137. {
  138. string result = "";
  139. switch (key)
  140. {
  141. case 1:
  142. result = "消费代付";
  143. break;
  144. case 2:
  145. result = "用户提现";
  146. break;
  147. case 3:
  148. result = "盟主提现";
  149. break;
  150. case 4:
  151. result = "助利宝提现";
  152. break;
  153. }
  154. return result;
  155. }
  156. public static string GetBizTypeInfo(int key)
  157. {
  158. string result = "";
  159. switch (key)
  160. {
  161. case 30:
  162. result = "红包奖励";
  163. break;
  164. case 31:
  165. result = "活动奖励";
  166. break;
  167. case 7:
  168. result = "系统扣减";
  169. break;
  170. case 114:
  171. result = "私董会分红";
  172. break;
  173. case 115:
  174. result = "分仓奖励";
  175. break;
  176. }
  177. return result;
  178. }
  179. }
  180. }