|
|
@@ -93,4 +93,25 @@ public class EnterpriseController {
|
|
|
return enterpriseService.validBusinessCode(businessCode);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 开通企业卖家功能
|
|
|
+ *
|
|
|
+ * @param enUU
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/openVendor/{enUU}", method = RequestMethod.POST)
|
|
|
+ public void openVendor(@PathVariable("enUU") long enUU) {
|
|
|
+ enterpriseService.openVendor(enUU,true);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设置卖家中心预开通状态
|
|
|
+ *
|
|
|
+ * @param enUU
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/openVendorSetRead/{enUU}", method = RequestMethod.POST)
|
|
|
+ public void getOpenVendor(@PathVariable("enUU") long enUU) {
|
|
|
+ enterpriseService.openVendor(enUU,false);
|
|
|
+ }
|
|
|
+
|
|
|
}
|