请求头上定义了多少服务,在function中一定要相互有对应的参数,不可缺少
appModule.controller('app.views.international.policy.ticketinquery.index', [ '$scope', '$timeout', '$uibModal', 'appSession', 'abp.services.app.sabre', function($scope, $timeout, $uibModal, appSession, sabreService) {
像代码中定义了五个参数,在function中一定不可以缺少,否则会报错
报错图:
会导致控制器出错