You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
500 B
16 lines
500 B
import 'package:get/get.dart';
|
|
import '../controllers/azure_asr_test_controller.dart';
|
|
import '../../../data/services/azure_asr_service.dart';
|
|
|
|
class AzureAsrTestBinding extends Bindings {
|
|
@override
|
|
void dependencies() {
|
|
// 注册Azure ASR服务(如果尚未注册)
|
|
if (!Get.isRegistered<AzureAsrService>()) {
|
|
Get.lazyPut<AzureAsrService>(() => AzureAsrService());
|
|
}
|
|
|
|
// 注册控制器
|
|
Get.lazyPut<AzureAsrTestController>(() => AzureAsrTestController());
|
|
}
|
|
}
|