docs: function pointController($scope, $ccMenus, $ccModal) {
  
  	$ccMenus.getCurrentPlatShop().then(current => {
  		console.log('积分类型:(server)', current.plat.name + '|' + current.shop.name)
  	});
  
  	this.name = '老司机飙车速度疾';
  
  	let isChange = false;
  
  	/**
  	 * 表单修改
  	 */
  	this.formChange = () => {
  		isChange = true;
  	};
  
  	$ccMenus.onShopChange(current => {
  		console.log('积分类型:(listener)', current.plat.name + '|' + current.shop.name);
  	}, $scope);
  
  	$ccMenus.onShopChangeStart((defer, toShop) => {
  		if (isChange) {
  
  			$ccModal.confirm('切换店铺中,确定要切换至' + toShop.plat.name + '下的' + toShop.shop.name + '吗?', {
  				onClose: function () {
  					console.log('close');
  				}
  			}).open().result.then(() => {
  				defer.resolve();
  				isChange = false;
  			}, () => {
  				defer.reject();
  			});
  		} else {
  
  			defer.resolve();
  		}
  	}, $scope);
  
  }