|
@@ -2,10 +2,7 @@ package com.caimei365.user.controller;
|
|
|
|
|
|
import com.caimei365.user.idempotent.Idempotent;
|
|
import com.caimei365.user.idempotent.Idempotent;
|
|
import com.caimei365.user.model.ResponseJson;
|
|
import com.caimei365.user.model.ResponseJson;
|
|
-import com.caimei365.user.model.dto.ClubOnlineDto;
|
|
|
|
-import com.caimei365.user.model.dto.ClubRegisterDto;
|
|
|
|
-import com.caimei365.user.model.dto.ClubUpgradeDto;
|
|
|
|
-import com.caimei365.user.model.dto.ShopRegisterDto;
|
|
|
|
|
|
+import com.caimei365.user.model.dto.*;
|
|
import com.caimei365.user.model.po.ClubPo;
|
|
import com.caimei365.user.model.po.ClubPo;
|
|
import com.caimei365.user.model.po.ShopPo;
|
|
import com.caimei365.user.model.po.ShopPo;
|
|
import com.caimei365.user.service.RegisterService;
|
|
import com.caimei365.user.service.RegisterService;
|
|
@@ -170,10 +167,19 @@ public class RegisterApi {
|
|
return registerService.shopRegister(shopRegisterDto, passWordConfirm, smsCode, isAgreed, whichStep, headers);
|
|
return registerService.shopRegister(shopRegisterDto, passWordConfirm, smsCode, isAgreed, whichStep, headers);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 更新供应商申请信息
|
|
|
|
+ *
|
|
|
|
+ * spi旧接口:/supplier/updateCompanyInfo
|
|
|
|
+ *
|
|
|
|
+ * @param shopApplyDto ShopApplyDto
|
|
|
|
+ * @param headers HttpHeaders
|
|
|
|
+ * @return ShopPo
|
|
|
|
+ */
|
|
@ApiOperation("更新供应商申请信息")
|
|
@ApiOperation("更新供应商申请信息")
|
|
@PostMapping("/apply/update")
|
|
@PostMapping("/apply/update")
|
|
- public ResponseJson<ShopPo> updateShopApplyInfo(ShopRegisterDto shopRegisterDto, @RequestHeader HttpHeaders headers){
|
|
|
|
- return registerService.updateShopApply(shopRegisterDto, headers);
|
|
|
|
|
|
+ public ResponseJson<ShopPo> updateShopApplyInfo(ShopApplyDto shopApplyDto, @RequestHeader HttpHeaders headers){
|
|
|
|
+ return registerService.updateShopApply(shopApplyDto, headers);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|