feat:禅道bug
This commit is contained in:
1 parent
d84b294966
commit
99db419140
40 files changed
+1305
-60
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
package com.bsd.pjcloud.integrated.api.feign;
|
||||
|
||||
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
|
||||
import com.bsd.pjcloud.common.core.util.R;
|
||||
import com.bsd.pjcloud.common.feign.annotation.NoToken;
|
||||
import com.bsd.pjcloud.thirdparty.dto.ad.UniappAdCallbackDto;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@FeignClient(contextId = "RemoterIntegratedAdService", value = ServiceNameConstants.INTEGRATED_SERVICE)
|
||||
public interface RemoterIntegratedAdService {
|
||||
|
||||
@NoToken
|
||||
@PostMapping("/ad-record/uniapp-ad-callback")
|
||||
R<Boolean> uniappAdCallback(@RequestBody UniappAdCallbackDto body);
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.bsd.pjcloud.integrated.constant.ad;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum AdRecordStatus {
|
||||
|
||||
SUCCESS("100", "观看成功"),
|
||||
;
|
||||
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.bsd.pjcloud.integrated.constant.ad;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum AdTypeEnum {
|
||||
|
||||
UNIAPP_INFORMATION_STREAM("90", "uniapp-信息流广告"),
|
||||
UNIAPP_REWARDED("100", "uniapp-激励广告"),
|
||||
;
|
||||
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user