@@ -3,10 +3,10 @@
app.constant("config", {
// server: 'http://q8.9026.com/',
// imgServer: 'http://q8.9026.com/attachment/'
- //server: 'http://localhost:8092/',
- //imgServer: 'http://localhost:8092/attachment/'
+ server: 'http://localhost:8092/',
+ imgServer: 'http://localhost:8092/attachment/'
- server: 'http://miao.beiyuesi.com/',
- imgServer: 'http://miao.beiyuesi.com/attachment/'
+ // server: 'http://miao.beiyuesi.com/',
+ // imgServer: 'http://miao.beiyuesi.com/attachment/'
});
})(angular.module('app'));
@@ -30,7 +30,7 @@ class Controller extends BaseController
$this->middleware('auth:api', [
'except' => [
'upload', 'getCode', 'reset', 'login', 'get', 'register', 'alipayNotify', 'wechatpayNotify',
- 'get', 'area', 'attachment.download', 'attachment.upload', 'test','index/home','attachment/download/*'
+ 'get', 'area', 'download', 'test'
]
]);