邀请码BUG修改

This commit is contained in:
yuanke 2016-07-15 18:19:37 +08:00
parent 82aa369687
commit 7dd26bb5d9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ app.controller('InviteCodeController', ['$scope','$http', '$routeParams','config
vm.course = {};
var courseid = $routeParams.id;
$http.get(config.apiUrl+ 'courses/'+courseid+").then(
$http.get(config.apiUrl+ 'courses/'+courseid).then(
function(response){
console.log(response.data);
vm.course = response.data.data;