package com.rehome.mqttclienttemperature.webservice;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.jws.WebService;

/**
 * @ClassName ApiServiceImpl
 * @Description  测试地址：http://127.0.0.1:8099/ws/ApiCommonService?wsdl
 * @Date 2024/6/14 16:52
 * @Version 1.0
 */
@Component
@WebService(serviceName = "ApiCommonService",
        targetNamespace = "http://webservice.mqttclienttemperature.rehome.com/",
        endpointInterface = "com.rehome.mqttclienttemperature.webservice.ApiCommonService")
@Slf4j
public class ApiCommonServiceImpl implements ApiCommonService {

    @Override
    public String commonApi(String param1,String param2) {
        log.info("调用的入参为："+param1+","+param2);
        return "成功";
    }
}