package com.weaver.seconddev.chapanda.feishu.util;

import org.springframework.stereotype.Component;

/**
 * packageName com.weaver.seconddev.chapanda.feishu.util
 *
 * @ClassName CommonUtil
 * @Author shil
 * @Date 2025/8/13 15:08
 * @Description TODO
 */

@Component
public class CommonUtil {

    public Long convertStringToLong(String str) {
        try {
            return Long.valueOf(str);
        } catch (NumberFormatException e) {
            return 0L;
        }
    }


}
