|
|
@@ -66,14 +66,14 @@ public class ExternalController {
|
|
|
* 知乎 特殊镜像规格 兑换码列表
|
|
|
*/
|
|
|
@GetMapping("/get/mirror")
|
|
|
- public Result<SearchResult<ExternalExchangeCodeView>> getMirror(@RequestParam(required = true, defaultValue = "18") Long goodsId) {
|
|
|
+ public Result<SearchResult<ExternalExchangeCodeView>> getMirror(@RequestParam(required = true, defaultValue = "18") Long gid) {
|
|
|
//目前只展示规格id 444 GPT基础镜像2月
|
|
|
List<Long> showSkuId = null;
|
|
|
- if (goodsId == Constant.GPT_PLUS_GID) {
|
|
|
+ if (gid == Constant.GPT_PLUS_GID) {
|
|
|
showSkuId = List.of(444l);
|
|
|
}
|
|
|
//MJ
|
|
|
- if (goodsId == Constant.MJ_GID) {
|
|
|
+ if (gid == Constant.MJ_GID) {
|
|
|
showSkuId = List.of(814l);
|
|
|
}
|
|
|
if (CollUtil.isEmpty(showSkuId)) {
|