# sourcebyte-starter **Repository Path**: open-source-byte/sourcebyte-starter ## Basic Information - **Project Name**: sourcebyte-starter - **Description**: 开源字节封装常用starter,方便复用 - **Primary Language**: Java - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-08-21 - **Last Updated**: 2025-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sourcebyte-starter #### 介绍 开源字节封装常用starter,方便复用 #### 软件架构 springboot2.7+java8,简单易用,功能强大,扩展性强。 #### 组成部分 1、sourcebyte-sms-springboot-starter,封装常用的短信平台,如阿里云,腾讯云,华为云,亚马逊云 2、sourcebyte-oos-springboot-starter,封装常用的对象存储,如阿里云,腾讯云,华为云,亚马逊云 #### 使用步骤 1、引入依赖 ```java vip.sourcebyte sourcebyte-sms-springboot-starter 1.0.0 ``` 2、编写测试类 ```java package vip.source; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import vip.source.components.OssTemplate; import javax.annotation.Resource; @RestController @RequestMapping("/test") public class TestController { @Resource private SmsTemplate smsTemplate; @RequestMapping("/sms") public String sms() { String fromPhone = "18720989281"; String toPhone = "18720989281"; String content = "詹Sir,今晚开源字节 直播间 不见不散,收到请回复,over!"; return smsTemplate.send(fromPhone, toPhone, content); } } ```