增加接口
This commit is contained in:
@@ -59,7 +59,8 @@ public class SignValidateFilter implements Filter {
|
||||
"/zxjp/mini/program/v1/partnerManage/openArea/areaApplyQuery",
|
||||
"/zxjp/**/api/audit/result",
|
||||
"/zxjp/**/api/license",
|
||||
"/zxjp/mini/line/getRegionPayPic"
|
||||
"/zxjp/mini/line/getRegionPayPic",
|
||||
"/zxjp/mini/**"
|
||||
|
||||
);
|
||||
|
||||
|
||||
@@ -5,13 +5,11 @@ import com.cool.store.enums.OrderSysTypeEnum;
|
||||
import com.cool.store.request.OrderSysInfoRequest;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.OrderSysInfoService;
|
||||
import com.cool.store.service.PushService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@@ -28,6 +26,8 @@ public class PCOrderSysInfoController {
|
||||
|
||||
@Resource
|
||||
private OrderSysInfoService orderSysInfoService;
|
||||
@Resource
|
||||
private PushService pushService;
|
||||
|
||||
@PostMapping("/submitOrderInfo")
|
||||
@ApiOperation("物流提交订货信息")
|
||||
@@ -42,4 +42,11 @@ public class PCOrderSysInfoController {
|
||||
request.setType(OrderSysTypeEnum.ORDER_SYS_TYPE_2.getType());
|
||||
return ResponseResult.success(orderSysInfoService.updateByShopId(request, CurrentUserHolder.getUserId()));
|
||||
}
|
||||
|
||||
@GetMapping("/getXgjOrganization")
|
||||
@ApiOperation("获取新管家组织架构")
|
||||
public ResponseResult<Object> getXgjOrganization(@RequestParam(value = "partnerId", required = true,defaultValue = "0") String partnerId) {
|
||||
return ResponseResult.success(pushService.getXgjOrganization(partnerId));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiResponse;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -258,6 +259,13 @@ public class PCTestController {
|
||||
return ResponseResult.success(shopAccountDAO.initShopAccount(hyPartnerUserInfoDO,Arrays.asList(shopId)));
|
||||
}
|
||||
|
||||
@Resource
|
||||
private PushService pushService;
|
||||
@GetMapping("/getXgjOrganization")
|
||||
@ApiOperation("获取新管家组织架构")
|
||||
public ResponseResult<Object> getXgjOrganization(@RequestParam(value = "partnerId", required = true,defaultValue = "0") String partnerId) {
|
||||
return ResponseResult.success(pushService.getXgjOrganization(partnerId));
|
||||
}
|
||||
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -82,6 +82,11 @@ enterprise.dingCorpId=wpayJeDAAAklx_q1jGhyGUd4yEh8vV_g
|
||||
qywx.task.notice.url2=https://store-h5.coolstore.cn/?corpId=%s&appType=%s#/notice?target=%s¬iceType=zx&corpId=%s&appType=%s&eid=%s
|
||||
|
||||
|
||||
xgj.open.organization.X-key = 2677a58dd9e24fc6b20e835ef5f19e63
|
||||
xgj.open.organization.X-Secret = 3fe724f9607448728ee3393eff75718a
|
||||
xgj.open.organization.url = https://masterdata.zhengxinfood.com/dmp/one-id
|
||||
|
||||
|
||||
|
||||
api.auth.url=https://api.zhengxindzg.cn
|
||||
api.auth.username=GkqgAhUJ7p9swJo
|
||||
|
||||
@@ -115,3 +115,7 @@ xzg.api.auth.secret=****
|
||||
|
||||
cool.api.appKey=k8J7fG2qR5tY9vX3
|
||||
cool.api.secret=wP4sN6dL8zK2xM9c
|
||||
|
||||
xgj.open.organization.X-key = 2677a58dd9e24fc6b20e835ef5f19e63
|
||||
xgj.open.organization.X-Secret = 3fe724f9607448728ee3393eff75718a
|
||||
xgj.open.organization.url = http://117.139.13.24:11180/dmp/one-id
|
||||
|
||||
Reference in New Issue
Block a user