feat: 增加客服2

This commit is contained in:
2026-01-13 01:19:13 -08:00
parent 2ea6cd2379
commit 1d2a89a80a
7 changed files with 101 additions and 1 deletions
@@ -0,0 +1,21 @@
import 'package:get/get.dart';
/// 客服2Chatwoot)控制器
class KRChatwootController extends GetxController {
/// Chatwoot 客服链接
final String kr_chatwootUrl = 'https://app.chatwoot.com/widget?website_token=YXQmh16ymNYW1SVybhnoQQ9w';
/// 加载状态
final RxBool kr_isLoading = true.obs;
@override
void onInit() {
super.onInit();
}
/// 设置加载状态
/// [loading] 是否正在加载
void kr_setLoading(bool loading) {
kr_isLoading.value = loading;
}
}