|
@@ -18,6 +18,7 @@ import com.fdkankan.ucenter.vo.request.SceneParam;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
@@ -134,9 +135,11 @@ public class InnerController extends BaseController {
|
|
|
return Result.success(innerService.getSceneBySnCode(param));
|
|
|
}
|
|
|
|
|
|
+ @Value("${ucenter.sign.appid}")
|
|
|
+ public String sssappId;
|
|
|
@GetMapping(value = "/pdsfsdfsrvateddsfeky/{appId}")
|
|
|
public Result getPrivateKey(@PathVariable String appId){
|
|
|
- AppSecret appSecret = appSecretService.getByAppId("ucenter");
|
|
|
+ AppSecret appSecret = appSecretService.getByAppId(sssappId);
|
|
|
if(appSecret == null){
|
|
|
throw new com.fdkankan.ucenter.exception.BusinessException(ResultCode.SIGN_ERROR);
|
|
|
}
|