Showing
1 changed file
with
5 additions
and
5 deletions
@@ -42,7 +42,7 @@ public class ShoppingController { | @@ -42,7 +42,7 @@ public class ShoppingController { | ||
42 | //接口版本,控制不同的动作 | 42 | //接口版本,控制不同的动作 |
43 | @RequestParam(name = "api_version", required = false, defaultValue = "0") int apiVersion, | 43 | @RequestParam(name = "api_version", required = false, defaultValue = "0") int apiVersion, |
44 | @RequestParam(value = "app_version", required = false)String appVersion, | 44 | @RequestParam(value = "app_version", required = false)String appVersion, |
45 | - @RequestParam(value = "business_client", required = false) String businessClient){ | 45 | + @RequestParam(value = "business_client", required = false,defaultValue = "ufo") String businessClient){ |
46 | 46 | ||
47 | //活动类型 | 47 | //活动类型 |
48 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(activityType); | 48 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(activityType); |
@@ -75,7 +75,7 @@ public class ShoppingController { | @@ -75,7 +75,7 @@ public class ShoppingController { | ||
75 | @RequestParam(name = "addressId", required = false) String addressId, | 75 | @RequestParam(name = "addressId", required = false) String addressId, |
76 | @RequestParam(name = "coupon_code",required = false) String couponCode, | 76 | @RequestParam(name = "coupon_code",required = false) String couponCode, |
77 | @RequestParam(name="depositRequirement", required = false, defaultValue = OrderConstant.N_STR)String depositRequirement, | 77 | @RequestParam(name="depositRequirement", required = false, defaultValue = OrderConstant.N_STR)String depositRequirement, |
78 | - @RequestParam(value = "business_client", required = false) String businessClient) { | 78 | + @RequestParam(value = "business_client", required = false, defaultValue = "ufo") String businessClient) { |
79 | //活动类型 | 79 | //活动类型 |
80 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(0); | 80 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(0); |
81 | 81 | ||
@@ -109,7 +109,7 @@ public class ShoppingController { | @@ -109,7 +109,7 @@ public class ShoppingController { | ||
109 | //接口版本,控制不同的动作 | 109 | //接口版本,控制不同的动作 |
110 | @RequestParam(name = "api_version", required = false, defaultValue = "0") int apiVersion, | 110 | @RequestParam(name = "api_version", required = false, defaultValue = "0") int apiVersion, |
111 | @RequestParam(value = "app_version", required = false)String appVersion, | 111 | @RequestParam(value = "app_version", required = false)String appVersion, |
112 | - @RequestParam(value = "business_client", required = false) String businessClient) { | 112 | + @RequestParam(value = "business_client", required = false, defaultValue = "ufo") String businessClient) { |
113 | 113 | ||
114 | //活动类型 | 114 | //活动类型 |
115 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(activityType); | 115 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.find(activityType); |
@@ -147,7 +147,7 @@ public class ShoppingController { | @@ -147,7 +147,7 @@ public class ShoppingController { | ||
147 | @RequestParam(name="depositRequirement", required = false, defaultValue = OrderConstant.N_STR)String depositRequirement, | 147 | @RequestParam(name="depositRequirement", required = false, defaultValue = OrderConstant.N_STR)String depositRequirement, |
148 | @RequestParam(name="promotionId", required = false)Integer promotionId, | 148 | @RequestParam(name="promotionId", required = false)Integer promotionId, |
149 | @RequestParam(name = "client_type", required = false) String clientType, | 149 | @RequestParam(name = "client_type", required = false) String clientType, |
150 | - @RequestParam(name="business_client", required = false)String businessClient){ | 150 | + @RequestParam(name="business_client", required = false, defaultValue = "ufo")String businessClient){ |
151 | if(StringUtils.isBlank(channelNo)){ | 151 | if(StringUtils.isBlank(channelNo)){ |
152 | channelNo = "2919"; | 152 | channelNo = "2919"; |
153 | } | 153 | } |
@@ -183,7 +183,7 @@ public class ShoppingController { | @@ -183,7 +183,7 @@ public class ShoppingController { | ||
183 | @RequestParam(name = "skup") int skup, | 183 | @RequestParam(name = "skup") int skup, |
184 | @RequestParam(name = "addressId") String addressId, | 184 | @RequestParam(name = "addressId") String addressId, |
185 | @RequestParam(name="depositRequirement", defaultValue = OrderConstant.N_STR)String depositRequirement, | 185 | @RequestParam(name="depositRequirement", defaultValue = OrderConstant.N_STR)String depositRequirement, |
186 | - @RequestParam(value = "business_client", required = false) String businessClient) { | 186 | + @RequestParam(value = "business_client", required = false, defaultValue = "ufo") String businessClient) { |
187 | //活动类型 | 187 | //活动类型 |
188 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.COMMON; | 188 | ActivityTypeEnum activityTypeEnum = ActivityTypeEnum.COMMON; |
189 | ShoppingRequest req = ShoppingRequest.builder() | 189 | ShoppingRequest req = ShoppingRequest.builder() |
-
Please register or login to post a comment