改造平台建店接口
This commit is contained in:
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
|
||||
import com.cool.store.constants.CommonConstants;
|
||||
import com.cool.store.dao.*;
|
||||
import com.cool.store.entity.*;
|
||||
import com.cool.store.enums.DownSystemTypeEnum;
|
||||
import com.cool.store.enums.MessageEnum;
|
||||
import com.cool.store.enums.QWMessageEnum;
|
||||
import com.cool.store.enums.SMSMsgEnum;
|
||||
@@ -57,6 +58,8 @@ public class PCTestController {
|
||||
DataHandleService dataHandleService;
|
||||
static String url = "https://hzly.cloudcubic.net/ajaxHandle/synchronization/JCallBackSynchronizationHandler.ashx?action=app&controller=GetProjectDetails&projectid=";
|
||||
|
||||
@Resource
|
||||
private SyncDataService syncDataService;
|
||||
@Resource
|
||||
private HttpRestTemplateService httpRestTemplateService;
|
||||
|
||||
@@ -235,4 +238,9 @@ public class PCTestController {
|
||||
return ResponseResult.success(huoMaService.getShopInfo(request));
|
||||
}
|
||||
|
||||
@GetMapping("/getData")
|
||||
public ResponseResult getData(@RequestParam("shopId")Long shopId,@RequestParam("type")Integer type){
|
||||
return ResponseResult.success(syncDataService.getData(shopId, DownSystemTypeEnum.getByCode(type)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user