Browse Source

checktel error bug,显示无法找到

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@5598 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 10 years ago
parent
commit
cc1cd8f73e
1 changed files with 16 additions and 0 deletions
  1. 16 0
      src/main/webapp/resources/js/index/services/CheckTel.js

+ 16 - 0
src/main/webapp/resources/js/index/services/CheckTel.js

@@ -0,0 +1,16 @@
+define([ 'ngResource'], function() {
+	angular.module('CheckTelModule', [ 'ngResource']).factory('SendCheckMsg',['$resource',function($resource){
+		return $resource('purchase/arCheck/:id', {}, {
+			sendMsgInfos : {
+				url : 'account/user/send/msg/checkTel/:userTel',
+				method : 'GET',
+				isArray : false
+			},
+			checkPhoneCode: {
+				url : 'account/user/send/msgCheck',
+				method : 'GET'
+				
+			}
+		})
+	}])
+});