Browse Source

卖家中心-求购询价

liusw 8 years ago
parent
commit
b93707c042
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/main/webapp/resources/js/common/query/seekPurchase.js

+ 15 - 0
src/main/webapp/resources/js/common/query/seekPurchase.js

@@ -0,0 +1,15 @@
+define([ 'ngResource' ], function() {
+	angular.module('seekPurchaseServices', [ 'ngResource' ]).factory('seekPurchase', ['$resource', 'BaseService', function($resource, BaseService) {
+		const rootPath = BaseService.getRootPath();
+		return $resource('seek', {}, {
+      getSeekPurchaseRate: {
+        url: 'seek/offer/getSeekPurchaseRate',
+        method: 'GET'
+      },
+      getVendorSeekPageInfo: {
+        url: 'seek/getVendorSeekPageInfo',
+        method: 'GET'
+      }
+		});
+}])
+});