|
@@ -11,6 +11,8 @@ import com.fdkankan.scene.util.forest.HttpClient;
|
|
|
import com.fdkankan.scene.util.forest.SuccessCallback;
|
|
|
import java.io.File;
|
|
|
import javax.annotation.PostConstruct;
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -23,6 +25,7 @@ import org.springframework.stereotype.Service;
|
|
|
* @since 2022/9/27
|
|
|
**/
|
|
|
@Service
|
|
|
+@Slf4j
|
|
|
public class LaserServiceImpl implements ILaserService {
|
|
|
|
|
|
@Autowired
|
|
@@ -44,6 +47,7 @@ public class LaserServiceImpl implements ILaserService {
|
|
|
|
|
|
@Override
|
|
|
public void editScene(String num, LaserSceneBean sceneBean) {
|
|
|
+ log.info("editScene,{}-{}",num,sceneBean);
|
|
|
String api = String.format(LaserApiConstant.EDIT_SCENE, num);
|
|
|
httpClient.postJson(host, port, api, sceneBean, new SuccessCallback(), new ErrorCallback());
|
|
|
}
|