mirror of
https://github.com/wu736139669/vczero.github.io.git
synced 2026-08-05 06:23:38 +00:00
add article
This commit is contained in:
+1
-1
@@ -322,7 +322,7 @@ function($http, Time, ServiceConfig) {
|
|||||||
function($scope, $http, $location, ServiceConfig, Time){
|
function($scope, $http, $location, ServiceConfig, Time){
|
||||||
//初始化显示我想成为路边鼓掌的人
|
//初始化显示我想成为路边鼓掌的人
|
||||||
if($location.path() === '/article'){
|
if($location.path() === '/article'){
|
||||||
var path = '?_id=549c2c9a019ed08429e9fad8';
|
var path = '?_id=549d5a652aa65d721885a151';
|
||||||
$http.get(ServiceConfig.article_detail + path).success(function(data){
|
$http.get(ServiceConfig.article_detail + path).success(function(data){
|
||||||
if(data.status){
|
if(data.status){
|
||||||
data.time = Time.formatTime(data.time);
|
data.time = Time.formatTime(data.time);
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@ app.controller('ArticleDetailController',
|
|||||||
function($scope, $http, $location, ServiceConfig, Time){
|
function($scope, $http, $location, ServiceConfig, Time){
|
||||||
//初始化显示我想成为路边鼓掌的人
|
//初始化显示我想成为路边鼓掌的人
|
||||||
if($location.path() === '/article'){
|
if($location.path() === '/article'){
|
||||||
var path = '?_id=549c2c9a019ed08429e9fad8';
|
var path = '?_id=549d5a652aa65d721885a151';
|
||||||
$http.get(ServiceConfig.article_detail + path).success(function(data){
|
$http.get(ServiceConfig.article_detail + path).success(function(data){
|
||||||
if(data.status){
|
if(data.status){
|
||||||
data.time = Time.formatTime(data.time);
|
data.time = Time.formatTime(data.time);
|
||||||
|
|||||||
Reference in New Issue
Block a user