邀请码BUG修改
This commit is contained in:
parent
82aa369687
commit
7dd26bb5d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue