Structor CSSD

This commit is contained in:
saeid
2019-04-25 20:14:09 +04:30
parent fc162db99b
commit 14a91bdef7
72 changed files with 6957 additions and 4636 deletions
+4 -2
View File
@@ -30,11 +30,13 @@ const ApiService = {
},
put(resource, data) {
return axios.put(resource, data)
data['_method'] = 'put';
return axios.post(resource, data)
},
delete(resource) {
return axios.delete(resource)
let data = {'_method': 'delete'};
return axios.post(resource, data)
},
/**