Giter Site home page Giter Site logo

Comments (4)

adorabled4 avatar adorabled4 commented on July 22, 2024

Could not resolve placeholder 'gitee.state' in value "${gitee.state}

请你查看以下application.yml 是否配置了 gitee相关的配置

from hxbi.

xiaolietu avatar xiaolietu commented on July 22, 2024

Could not resolve placeholder 'gitee.state' in value "${gitee.state}

请你查看以下application.yml 是否配置了 gitee相关的配置

在首页的README中,没看到gitee配置的方法,能指点一下吗?

from hxbi.

xiaolietu avatar xiaolietu commented on July 22, 2024

Could not resolve placeholder 'gitee.state' in value "${gitee.state}

请你查看以下application.yml 是否配置了 gitee相关的配置

image
这个里面也没看到有gitee内容啊

from hxbi.

adorabled4 avatar adorabled4 commented on July 22, 2024

为了避免部分隐私信息泄漏(比如密钥),目前我通过Nacos作为配置中心来存储, 准备了一个common.properties , 这是已经脱敏之后的配置, 你需要替换成自己的配置

# OSS
alibaba.cloud.oss.endpoint=********************************
alibaba.cloud.oss.bucket=**********
alibaba.cloud.oss.domain=********************************
alibaba.cloud.access-key=*******************************
alibaba.cloud.secret-key=***********************************

# gitee第三方
gitee.clientId = ************************************************
gitee.clientSecret = *********************************************
gitee.state= GITEE
gitee.redirectUri = http://localhost:8000/user/login
gitee.token.url= https://gitee.com/oauth/token?grant_type=authorization_code&client_id=${gitee.clientId}&redirect_uri=${gitee.redirectUri}&client_secret=${gitee.clientSecret}&code=
gitee.user.url = https://gitee.com/api/v5/user?access_token=
gitee.user.prefix=${gitee.state}


# github第三方配置
github.clientId =*************************
github.clientSecret = ***********************************
github.state= GITHUB
github.redirectUri = http://localhost:6848/api/login3rd/github/callback
github.token.url= https://github.com/login/oauth/access_token?client_id=${github.clientId}&client_secret=${github.clientSecret}&redirect_uri=${github.redirectUri}&code=
github.user.url = https://api.github.com/user
github.user.prefix=${github.state}

# 讯飞星火配置
spark.appId=*************
spark.apiKey=***********************
spark.apiSecret=*************************
spark.host=spark-api.xf-yun.com
spark.path=/v3.1/chat
spark.domain=generalv3

##鱼聪明配置
yuapi.client.access-key=3s*******************
yuapi.client.secret-key=q*******************

## STMP配置
mail.host=smtp.163.com
mail.port=25
mail.username=********************
mail.password=E*******************

from hxbi.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.