Commit 6484775c by zhiwj

打印参数

parent 90c5135a
......@@ -629,6 +629,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
@Override
@GatewayParams(query = {"appId", "enterpriseId"})
public ServiceResponse<String> listRegion(String appId, Integer enterpriseId) {
LOGGER.info("appId:{}, enterpriseId:{}", appId, enterpriseId);
//参数校验
ServiceResponse<EnterpriseDTO> enterpriseResult = enterpriseApiService.getEnterpriseById(enterpriseId);
if (!enterpriseResult.isSuccess()) {
......@@ -645,6 +646,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
@Override
@GatewayParams(query = {"appId", "enterpriseId"})
public ServiceResponse<String> listBrand(String appId, Integer enterpriseId) {
LOGGER.info("appId:{}, enterpriseId:{}", appId, enterpriseId);
//参数校验
ServiceResponse<EnterpriseDTO> enterpriseResult = enterpriseApiService.getEnterpriseById(enterpriseId);
if (!enterpriseResult.isSuccess()) {
......@@ -661,6 +663,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
@Override
@GatewayParams(query = {"appId", "enterpriseId", "regionId"})
public ServiceResponse<String> listField(String appId, Integer enterpriseId, Integer regionId) {
LOGGER.info("appId:{}, enterpriseId:{}", appId, enterpriseId);
//参数校验
ServiceResponse<EnterpriseDTO> enterpriseResult = enterpriseApiService.getEnterpriseById(enterpriseId);
if (!enterpriseResult.isSuccess()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment