All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.zplatform.appapi.service.privateImpl.TrackServiceImpl Maven / Gradle / Ivy

The newest version!
package cn.zplatform.appapi.service.privateImpl;

import cn.zplatform.appapi.app.InitConfig;
import cn.zplatform.appapi.bean.track.TrackInfo;
import cn.zplatform.appapi.path.Path;
import cn.zplatform.appapi.service.TrackService;

/**
 * 埋点数据实现
 *
 * @author Lilac
 * 2020-03-31
 */
public class TrackServiceImpl extends AbstractAppServiceImpl implements TrackService {

    @Override
    public String track(TrackInfo body, InitConfig initConfig) {
        body.setDebug_mode(initConfig.getDebugMode());
        body.setProject_id(initConfig.getProjectId());
        return post(Path.KEPLER_TRACK + "/" + initConfig.getProjectId(), null, body, initConfig);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy