mirror of
				https://github.com/yangjian102621/geekai.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	feat: system notice function is ready
This commit is contained in:
		@@ -195,6 +195,5 @@ type SystemConfig struct {
 | 
				
			|||||||
	InviteChatCalls  int      `json:"invite_chat_calls"`   // 邀请用户注册奖励对话次数
 | 
						InviteChatCalls  int      `json:"invite_chat_calls"`   // 邀请用户注册奖励对话次数
 | 
				
			||||||
	InviteImgCalls   int      `json:"invite_img_calls"`    // 邀请用户注册奖励绘图次数
 | 
						InviteImgCalls   int      `json:"invite_img_calls"`    // 邀请用户注册奖励绘图次数
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ShowDemoNotice bool   `json:"show_demo_notice"` // 显示演示站公告
 | 
						WechatCardURL string `json:"wechat_card_url"` // 微信客服地址
 | 
				
			||||||
	WechatCardURL  string `json:"wechat_card_url"`  // 微信客服地址
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -107,20 +107,6 @@
 | 
				
			|||||||
              </el-input>
 | 
					              </el-input>
 | 
				
			||||||
            </el-form-item>
 | 
					            </el-form-item>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <el-form-item label="显示演示公告" prop="show_demo_notice">
 | 
					 | 
				
			||||||
              <el-switch v-model="system['show_demo_notice']"/>
 | 
					 | 
				
			||||||
              <el-tooltip
 | 
					 | 
				
			||||||
                  effect="dark"
 | 
					 | 
				
			||||||
                  content="是否在聊天首页显示演示 Demo 公告,这是专为作者自己开发的功能"
 | 
					 | 
				
			||||||
                  raw-content
 | 
					 | 
				
			||||||
                  placement="right"
 | 
					 | 
				
			||||||
              >
 | 
					 | 
				
			||||||
                <el-icon>
 | 
					 | 
				
			||||||
                  <InfoFilled/>
 | 
					 | 
				
			||||||
                </el-icon>
 | 
					 | 
				
			||||||
              </el-tooltip>
 | 
					 | 
				
			||||||
            </el-form-item>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <el-form-item label="订单超时时间" prop="order_pay_timeout">
 | 
					            <el-form-item label="订单超时时间" prop="order_pay_timeout">
 | 
				
			||||||
              <div class="tip-input">
 | 
					              <div class="tip-input">
 | 
				
			||||||
                <el-input v-model.number="system['order_pay_timeout']" placeholder="单位:秒"/>
 | 
					                <el-input v-model.number="system['order_pay_timeout']" placeholder="单位:秒"/>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user