|
|
@ -1,5 +1,6 @@
|
|
|
|
package com.ruoyi.flyingbook.LarkHelper;
|
|
|
|
package com.ruoyi.flyingbook.LarkHelper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.lark.oapi.service.bitable.v1.model.*;
|
|
|
|
import com.lark.oapi.service.bitable.v1.model.*;
|
|
|
|
import com.ruoyi.flyingbook.domain.lark.LarkTableRequest;
|
|
|
|
import com.ruoyi.flyingbook.domain.lark.LarkTableRequest;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@ -135,7 +136,10 @@ public class LarkTableHelper extends LarkHelper{
|
|
|
|
throw new RuntimeException(createAppTableRecordResp.getMsg());
|
|
|
|
throw new RuntimeException(createAppTableRecordResp.getMsg());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
|
Map<String,String> resultMap = new HashMap<>();
|
|
|
|
|
|
|
|
resultMap.put("errorCode",e.getMessage());
|
|
|
|
|
|
|
|
resultMap.put("info", JSONObject.toJSONString(request));
|
|
|
|
|
|
|
|
throw new RuntimeException(JSONObject.toJSONString(resultMap));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|