Merge #16 into master from cc_20250916_new
大屏Iot获取token接口
* cc_20250916_new: (6 commits squashed)
- feat:第三方Iot接口对接
- Merge branch 'refs/heads/master' into cc_20250916_new
# Conflicts:
#	coolstore-partner-web/src/main/resources/application-local.properties
- fix
- fix:修改http请求工具
- Merge branch 'refs/heads/master' into cc_20250916_new
# Conflicts:
#	coolstore-partner-common/src/main/java/com/cool/store/enums/ErrorCodeEnum.java
#	coolstore-partner-web/src/main/resources/application-ab.properties
#	coolstore-partner-web/src/main/resources/application-local.properties
#	coolstore-partner-web/src/main/resources/application-online.properties
#	coolstore-partner-web/src/main/resources/application-test.properties
- fix:短信签名修改
Signed-off-by: 王非凡 <accounts_67eba0c5fee9c49c80c8e2b4@mail.teambition.com>
Reviewed-by: 苏竹红 <570057076@qq.com>
Merged-by: 苏竹红 <570057076@qq.com>
CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/16
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.cool.store.controller.webb;
|
||||
|
||||
import com.cool.store.service.iot.ThirdIotService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 第三方Iot 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author wangff
|
||||
* @since 2025/10/20
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/pc/third/iot")
|
||||
@Api(tags = "第三方Iot")
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
public class ThirdIotController {
|
||||
private final ThirdIotService thirdIotService;
|
||||
|
||||
@ApiOperation("获取token")
|
||||
@PostMapping("/token")
|
||||
public Map<String, Object> getToken() {
|
||||
return thirdIotService.getToken();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user