|
|
|
@ -18,12 +18,13 @@ import java.util.Map;
|
|
|
|
|
*/
|
|
|
|
|
@ExtensionService("shopAuthCallback")
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class ShopAuthCallbackService extends SPIBaseService implements ExtensionServiceHandler<PlatformAuthCallBackRequestDTO, Map<String, String>> {
|
|
|
|
|
public class ShopAuthCallbackService extends SPIBaseService implements ExtensionServiceHandler<Object, Map<String, String>> {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public BaseResponse<Map<String, String>> handle(BaseRequest<PlatformAuthCallBackRequestDTO> req) {
|
|
|
|
|
public BaseResponse<Map<String, String>> handle(BaseRequest<Object> req) {
|
|
|
|
|
// ----参数校验----
|
|
|
|
|
PlatformAuthCallBackRequestDTO fields = req.getData();
|
|
|
|
|
log.info("receive callback: " + JSON.toJSONString(req));
|
|
|
|
|
Object fields = req.getData();
|
|
|
|
|
log.info("receive callback: " + JSON.toJSONString(fields));
|
|
|
|
|
|
|
|
|
|
// ----逻辑校验----
|
|
|
|
|