feat: 增加客服2
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
/// 客服2(Chatwoot)控制器
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user