From 5f77c97c9ddc4fbdecc5f402418c751f8fc4082a Mon Sep 17 00:00:00 2001
From: yuanke <249218296@qq.com>
Date: Fri, 9 Sep 2016 15:01:46 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E4=BB=B6=E4=B8=8B=E8=BD=BD=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/assets/wechat/class.html | 2 +-
public/assets/wechat/myresource.html | 2 +-
public/javascripts/wechat/controllers/class.js | 3 +++
public/javascripts/wechat/controllers/myresource.js | 3 +++
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/public/assets/wechat/class.html b/public/assets/wechat/class.html
index f81b4f5f0..88ef967e9 100644
--- a/public/assets/wechat/class.html
+++ b/public/assets/wechat/class.html
@@ -230,7 +230,7 @@
-
{{r.filename}}发送
+
暂无课件,
请登录Trustie网站,在PC浏览器中上传课件。
diff --git a/public/assets/wechat/myresource.html b/public/assets/wechat/myresource.html
index 8bfa818de..718e3c278 100644
--- a/public/assets/wechat/myresource.html
+++ b/public/assets/wechat/myresource.html
@@ -12,7 +12,7 @@
diff --git a/public/javascripts/wechat/controllers/class.js b/public/javascripts/wechat/controllers/class.js
index 1e9fbcb0e..ea394a1ff 100644
--- a/public/javascripts/wechat/controllers/class.js
+++ b/public/javascripts/wechat/controllers/class.js
@@ -6,6 +6,9 @@ app.controller('ClassController', ['$scope', 'config','$http', 'auth','$location
};
var vm = $scope;
+
+ vm.g_localhost = window.g_localhost;
+
var courseid = $routeParams.id;
var tag = $routeParams.tag;
diff --git a/public/javascripts/wechat/controllers/myresource.js b/public/javascripts/wechat/controllers/myresource.js
index d920b376a..f6bb1bb00 100644
--- a/public/javascripts/wechat/controllers/myresource.js
+++ b/public/javascripts/wechat/controllers/myresource.js
@@ -3,6 +3,9 @@ app.controller('MyResourceController', ['$scope', '$http', 'auth', 'config', '$l
var vm = $scope;
// vm.menus = ['课件', '作业', '测验'];
+
+ vm.g_localhost = window.g_localhost;
+
vm.menus = ['课件', '作业'];
vm.resources = [];