修改bot默认头像

This commit is contained in:
谢思 2023-01-11 11:23:11 +08:00
parent d15e2d1c84
commit b88645edbb
6 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
<meta property="og:site_name" content="GitLink" />
<meta property="og:description" content="GitLink,新一代开源创新服务平台 分布式协作开发 一站式过程管理 高效流水线运维 多层次代码分析 多维度用户画像 分布式协作开发 基于Git打造分布式代码托管环境" />
<meta name="theme-color" content="#000000">
<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> -->
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link href="https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.19/bundle/alex.all.global.min.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/iconfont.css">

View File

@ -54,7 +54,7 @@ function BasicInformation(props){
...botDetail,
...fieldsValue,
bot_id: parseInt(id),
logo: imageId ? '/api/attachments/'+imageId : '/api/attachments/347240'
logo: imageId ? '/api/attachments/'+imageId : '/api/attachments/347246'
}
registerUpdateBot(params).then(res=>{
if(res && res.code === 200){

View File

@ -4,7 +4,7 @@ import './index.scss';
import { Link } from "react-router-dom";
import { getImageUrl } from 'educoder';
import { getMyBot, getTransferToBot, receiveTransferBot, refuseTransferBot } from "../../../../softbot/api";
import nullBot from '../../../../softbot/image/notBot.png';
import nullBot from '../../../../softbot/image/notBot1.png';
import moment from "moment";
function ExploitBot(props){
@ -94,7 +94,7 @@ function ExploitBot(props){
</div>
<Button className="themeCorBorBut ml30" style={{width: '68px', height: '36px'}}><Link to={`/settings/exploitBot/configuration/${item.bot_id}`}>编辑</Link></Button>
</div>})}
</div> : <div className="nullBotsBox mt100">
</div> : <div className="nullBotsBox mt80">
<img src={nullBot} alt="" width={62}/>
<p className="font-18 showBigTip">您当前暂未注册任何Bot</p>
<div className="showTip font-14">欢迎使用Bot! Bot可以帮助项目贡献者处理繁杂的项目任务比如关闭疑修合并请求在使用之前请先注册一个Bot!</div>

View File

@ -40,7 +40,7 @@ function Disposition(props){
const param = {
bot_name, bot_des, webhook, is_public,
user_id: current_user && current_user.user_id,
logo: '/api/attachments/347240',
logo: '/api/attachments/347246',
limit_and_events: {
event_code: event_code ? event_code.toString() : "",
event_pr: event_pr ? event_pr.toString() : "",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB