예제 #1
0
파일: RedisOpenAPI.cs 프로젝트: radtek/crm
 //
 private void SetResult(RedisOpenAPI state, string jsonData)
 {
     if (!jsonData.IsNullStr())
     {
         state.Result       = jsonData;
         state.ResponseFlag = true;
     }
 }
예제 #2
0
 public static CCCouponToBeExpired CCCouponToBeExpired(this RedisOpenAPI remote)
 {
     remote.Controller = "CCCouponToBeExpired";//要访问的Controller,传递给remote(RedisOpenAPI)
     return(new CCCouponToBeExpired(remote));
 }
예제 #3
0
 public static CCContact CCContact(this RedisOpenAPI remote)
 {
     remote.Controller = "CCContact";
     return(new CCContact(remote));
 }
예제 #4
0
 public static CCVipMappingCoupon CCVipMappingCoupon(this RedisOpenAPI remote)
 {
     remote.Controller = "CCVipMappingCoupon";
     return(new CCVipMappingCoupon(remote));
 }
예제 #5
0
 public CCBasicSetting(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #6
0
 public CCContact(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #7
0
 /// <summary>
 /// BI / 用户行为 / 记名埋点 / Cache
 /// </summary>
 public static BIStatistic BIStatistic(this RedisOpenAPI remote)
 {
     remote.Controller = "BIStatistic";
     return(new BIStatistic(remote));
 }
예제 #8
0
 public CCVipMappingCoupon(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #9
0
 public CCRechargeOrder(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #10
0
        //
        // LM,2016/04/19
        // 请在此处添加 开放的 API
        //

        /// <summary>
        /// CPOS / 后台 / 优惠券发送成功 / Queue
        /// </summary>
        public static CCCouponNotice CCCouponNotice(this RedisOpenAPI remote)
        {
            remote.Controller = "CCCouponNotice";
            return(new CCCouponNotice(remote));
        }
예제 #11
0
 public CCSalesCardOrder(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #12
0
 public CCAllOrder(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #13
0
 /// <summary>
 /// cpos /后台/ 活动/ set
 /// </summary>
 /// <param name="remote"></param>
 /// <returns></returns>
 public static CCActivity CCActivity(this RedisOpenAPI remote)
 {
     remote.Controller = "CCActivity";
     return(new CCActivity(remote));
 }
예제 #14
0
 /// <summary>
 /// CPOS / 后台 / 所有订单 / Queue
 /// </summary>
 public static CCAllOrder CCAllOrder(this RedisOpenAPI remote)
 {
     remote.Controller = "CCAllOrder";
     return(new CCAllOrder(remote));
 }
예제 #15
0
 /// <summary>
 /// CPOS / 后台 / 根据订单状态发消息 / Queue
 /// </summary>
 public static CCOrderPushMessage CCOrderPushMessage(this RedisOpenAPI remote)
 {
     remote.Controller = "CCOrderPushMessage";
     return(new CCOrderPushMessage(remote));
 }
예제 #16
0
 public CCCoupon(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #17
0
 /// <summary>
 /// CPOS / 后台 / 角色菜单 / Cache
 /// </summary>
 public static CCRole CCRole(this RedisOpenAPI remote)
 {
     remote.Controller = "CCRole";
     return(new CCRole(remote));
 }
예제 #18
0
 /// <summary>
 /// CPOS / 后台 / 订单支付成功 / Queue
 /// </summary>
 public static CCOrderPaySuccess CCOrderPaySuccess(this RedisOpenAPI remote)
 {
     remote.Controller = "CCOrderPaySuccess";
     return(new CCOrderPaySuccess(remote));
 }
예제 #19
0
 public CCPrize(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #20
0
 public CCOrderPaySuccess(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #21
0
 public CCConnection(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #22
0
 public CCOrderPushMessage(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #23
0
 public static CCConnection CCConnection(this RedisOpenAPI remote)
 {
     remote.Controller = "CCConnection";
     return(new CCConnection(remote));
 }
예제 #24
0
 public CCOrderSend(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #25
0
 public CCSuperRetailTraderOrder(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #26
0
 public CCOrderReward(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #27
0
 public BIStatistic(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #28
0
 public CCRole(RedisOpenAPI remote)
     : base(remote)
 {
 }
예제 #29
0
 /// <summary>
 /// 确认收货时处理积分、返现、佣金 / Queue
 /// </summary>
 public static CCOrderReward CCOrderReward(this RedisOpenAPI remote)
 {
     remote.Controller = "CCOrderReward";
     return(new CCOrderReward(remote));
 }
예제 #30
0
 //增加工厂类对具体实现类的引用(这里定义的都是RedisOpenAPI的静态方法)
 //未支付订单,发送模板消息
 public static CCOrderNotPay CCOrderNotPay(this RedisOpenAPI remote)
 {
     remote.Controller = "CCOrderNotPay";//要访问的Controller,传递给remote(RedisOpenAPI)
     return(new CCOrderNotPay(remote));
 }