您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

effects.js 475B

12345678910111213141516171819
  1. /**
  2. * Created by robin on 4/22/16.
  3. */
  4. (function()
  5. {
  6. angular.module("appSdk").factory("EffectsDataAccess", ['luticateRequest', function (luticateRequest) {
  7. var DataAccess = {};
  8. var entry_point = "/api/effects/";
  9. DataAccess.apply = function(data, promise)
  10. {
  11. return luticateRequest.post(entry_point + data.effect + "/apply", {data: JSON.stringify(data)}, promise);
  12. };
  13. return DataAccess;
  14. }])
  15. })();