Commit 6f4919fb by guojuxing

测试多个DTO传值

parent 884bb044
......@@ -51,7 +51,7 @@ public interface StoreOpenApiService {
ServiceResponse<Void> addClerk(Integer enterpriseId, ClerkDTO clerkInfo);
ServiceResponse<Void> editClerk(Integer enterpriseId, ClerkDTO clerkInfo, TestDTO test);
ServiceResponse<Void> editClerk(Integer enterpriseId, ClerkDTO clerkInfo);
/**
* 分页查询导购列表
......
......@@ -162,8 +162,8 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
}
@Override
@GatewayParams(query = {"enterpriseId"}, body = {"clerkInfo", "test"})
public ServiceResponse<Void> editClerk(Integer enterpriseId, ClerkDTO clerkInfo, TestDTO test) {
@GatewayParams(query = {"enterpriseId"}, body = {"clerkInfo"})
public ServiceResponse<Void> editClerk(Integer enterpriseId, ClerkDTO clerkInfo) {
//参数校验
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