steedos / steedos-platform

华炎魔方低代码平台,超强前后端在线编程能力。 | Steedos is an open-source alternative to Salesforce Low-Code Platform. 🤖 🎨 🚀
https://www.steedos.com
GNU Affero General Public License v3.0
1.4k stars 391 forks source link

登录页面logo如何进行修改 #2501

Closed JAVPHP closed 2 years ago

JAVPHP commented 2 years ago

1637995146(1)

datasources:
  default:
    connection:
      url: ${MONGO_URL}
    objectFiles:
      - "./steedos-app/**"
public:
  cfs:
    store: ${STEEDOS_CFS_STORE}
  templateSpaceId: 'template'
  webservices:
    jsreport:
      url: ${JSREPORT_URL}
      urlProvideForJsreport: ${JSREPORT_TO_ACQUIRE_DATA_URL}
cfs:
  store: ${STEEDOS_CFS_STORE}
  aliyun:
    region: ${STEEDOS_CFS_ALIYUN_REGION}
    bucket: ${STEEDOS_CFS_ALIYUN_BUCKET}
    folder: ${STEEDOS_CFS_ALIYUN_FOLDER}
    accessKeyId: ${STEEDOS_CFS_ALIYUN_ACCESSKEYID}
    secretAccessKey: ${STEEDOS_CFS_ALIYUN_SECRETACCESSKEY}
  aws:
    endpoint: ${STEEDOS_CFS_AWS_S3_ENDPOINT}
    bucket: ${STEEDOS_CFS_AWS_S3_BUCKET}
    accessKeyId: ${STEEDOS_CFS_AWS_S3_ACCESS_KEY_ID}
    secretAccessKey: ${STEEDOS_CFS_AWS_S3_SECRET_ACCESS_KEY}
    s3ForcePathStyle: ${STEEDOS_CFS_AWS_S3_FORCE_PATH_STYLE}
    signatureVersion: ${STEEDOS_CFS_AWS_S3_SIGNATURE_VERSION}
  steedosCloud:
    bucket: ${STEEDOS_CFS_CLOUD_BUCKET}
    endpoint: ${STEEDOS_CFS_CLOUD_ENDPOINT}
    accessKeyId: ${STEEDOS_CFS_CLOUD_ACCESSKEYID}
    secretAccessKey: ${STEEDOS_CFS_CLOUD_SECRETACCESSKEY}
tenant:
  _id: ${STEEDOS_TENANT_ID}
  name: 山东同域信息技术有限公司
  logo_url: ''
  background_url:
  enable_register: ${STEEDOS_TENANT_CONFIG_ENABLE_REGISTER} # 启用注册功能 true / false
  enable_forget_password: false
  enable_create_tenant: true
  enable_password_login: true
  enable_bind_email: false
  enable_bind_mobile: false
sms:
  qcloud:
    smsqueue_interval: 1000
    sdkappid: ${STEEDOS_SMS_QCLOUD_SDKAPPID}
    appkey: ${STEEDOS_SMS_QCLOUD_APPKEY}
    signname: ${STEEDOS_SMS_QCLOUD_SIGNNAME}
email:
  from: ${MAIL_FROM}
  url: ${MAIL_URL}
cron:
  instancerecordqueue_interval: 10000
  mailqueue_interval: 10000
  # push_interval: 1000
  webhookqueue_interval: 1000
dingtalk:
  api_Key: ${APIKEY}
  log_path: ${DING_LOGPATH}
qywx:
  api_Key: ${APIKEY}
  log_path: ${QYWX_LOGPATH}
push:
  apn:
    keyData: ${STEEDOS_PUSH_APN_DATA}
    certData: ${STEEDOS_PUSH_APN_DATA}
  gcm:
    apiKey: xxx
  xinge:
    accessId: ${STEEDOS_PUSH_XINGE_ACCESSID}
    secretKey: ${STEEDOS_PUSH_XINGE_SECRETKEY}
  huawei:
    appId: ${STEEDOS_PUSH_HUAWEI_APPID}
    appSecret: ${STEEDOS_PUSH_HUAWEI_APPSECRET}
    appPkgName: ${STEEDOS_PUSH_HUAWEI_APPPKGNAME}
  mi:
    appSecret: ${STEEDOS_PUSH_MI_APPSECRET}
    production: ${STEEDOS_PUSH_MI_PRODUCTION}
pay:
  weixin:
    appid: ${PAY_WEIXIN_APPID}
    mch_id: ${PAY_WEIXIN_MCH_ID}
    partner_key: ${PAY_WEIXIN_PARTNER_KEY}
JAVPHP commented 2 years ago

请问是在steedos-config.yml文件中修改吗?如何是,请问如何进行配置,谢谢

yinlianghui commented 2 years ago

2.1最新版本只要环境变量中配置了STEEDOS_CLOUD_SPACE_ID值即可,需要先开通云服务 https://www.steedos.cn/docs/deploy/deploy-cloud ,并激活华炎魔方 https://www.steedos.cn/docs/deploy/deploy-activate

新的官网文档请参阅:https://www.steedos.cn/docs

JAVPHP commented 2 years ago

image 您的意思是我处于未激活的状态吗?可是我现在处于断网状态仍能够正常运行,不应该是处于激活的状态吗 以下是·本地的配置文件.env.local内容

PORT=5000
ROOT_URL=http://localhost:5000
TRANSPORTER=redis://127.0.0.1:6379
CACHER=redis://127.0.0.1:6379/1
MONGO_URL=mongodb://127.0.0.1:27017/steedos
# NODE_ENV=production
APIKEY=
DING_LOGPATH=
QYWX_LOGPATH=
STEEDOS_CFS_STORE=
STEEDOS_TENANT_CONFIG_ENABLE_REGISTER=
STEEDOS_PUSH_APN_DATA=
STEEDOS_PUSH_XINGE_ACCESSID=
STEEDOS_PUSH_XINGE_SECRETKEY=
STEEDOS_PUSH_HUAWEI_APPID=
STEEDOS_PUSH_HUAWEI_APPSECRET=
STEEDOS_PUSH_HUAWEI_APPPKGNAME=
STEEDOS_PUSH_MI_APPSECRET=
STEEDOS_PUSH_MI_PRODUCTION=
DEVELOPER_STANDARD_OBJECTS=true
DEFAULT_PACKAGE_PATH=

# saas初始化工作区信息
STEEDOS_CLOUD_API_KEY=xxx
STEEDOS_CLOUD_SPACE_ID=61a0b3f9e410310030c0cb43
JAVPHP commented 2 years ago

2.1最新版本只要环境变量中配置了STEEDOS_CLOUD_SPACE_ID值即可,需要先开通云服务 https://www.steedos.cn/docs/deploy/deploy-cloud ,并激活华炎魔方 https://www.steedos.cn/docs/deploy/deploy-activate。

新的官网文档请参阅:https://www.steedos.cn/docs

请问激活的标致是什么,断网状态下正常使用,不能证明已经激活了吗

yinlianghui commented 2 years ago

image 您的意思是我处于未激活的状态吗?可是我现在处于断网状态仍能够正常运行,不应该是处于激活的状态吗 以下是·本地的配置文件.env.local内容

PORT=5000
ROOT_URL=http://localhost:5000
TRANSPORTER=redis://127.0.0.1:6379
CACHER=redis://127.0.0.1:6379/1
MONGO_URL=mongodb://127.0.0.1:27017/steedos
# NODE_ENV=production
APIKEY=
DING_LOGPATH=
QYWX_LOGPATH=
STEEDOS_CFS_STORE=
STEEDOS_TENANT_CONFIG_ENABLE_REGISTER=
STEEDOS_PUSH_APN_DATA=
STEEDOS_PUSH_XINGE_ACCESSID=
STEEDOS_PUSH_XINGE_SECRETKEY=
STEEDOS_PUSH_HUAWEI_APPID=
STEEDOS_PUSH_HUAWEI_APPSECRET=
STEEDOS_PUSH_HUAWEI_APPPKGNAME=
STEEDOS_PUSH_MI_APPSECRET=
STEEDOS_PUSH_MI_PRODUCTION=
DEVELOPER_STANDARD_OBJECTS=true
DEFAULT_PACKAGE_PATH=

# saas初始化工作区信息
STEEDOS_CLOUD_API_KEY=xxx-xxx
STEEDOS_CLOUD_SPACE_ID=61a0b3f9e410310030c0cb43

用云平台上注册的手机和密码能登录本地华炎魔方就说明激活成功了

yinlianghui commented 2 years ago

@JAVPHP 请不要把STEEDOS_CLOUD_API_KEY公开,这个是识别您有效身份的密钥,需要自行妥善保管。

JAVPHP commented 2 years ago

@JAVPHP 请不要把STEEDOS_CLOUD_API_KEY公开,这个是识别您有效身份的密钥,需要自行妥善保管。

好的,谢谢!

JAVPHP commented 2 years ago

用云平台上注册的手机和密码能登录本地华炎魔方就说明激活成功了

那我已经激活成功了,请问这个登录的logo,该如何进行修改呢,谢谢

yinlianghui commented 2 years ago

用云平台上注册的手机和密码能登录本地华炎魔方就说明激活成功了

那我已经激活成功了,请问这个登录的logo,该如何进行修改呢,谢谢

请看看你那边本地魔方项目的配置文件,确保参数tenant._id引用了环境变量STEEDOS_CLOUD_SPACE_ID而不是空值或其他环境变量:https://github.com/steedos/steedos-platform/blob/2.1/steedos-projects/project-template/steedos-config.yml