hurx 6 ore fa
parent
commit
6dbd90589f
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      src/api/partner/merchant/index.ts

+ 11 - 0
src/api/partner/merchant/index.ts

@@ -47,3 +47,14 @@ export function exportPartnerMerchant(query: PartnerMerchantQuery) {
     data: query
   });
 }
+
+/**
+ * 根据名称模糊查询伙伴商信息
+ * @param partnerName
+ */
+export const getListByPartnerName = (partnerName: string): AxiosPromise<PartnerMerchantVO[]> => {
+  return request({
+    url: '/customer/partnerInfo/selectByPartnerName/' + partnerName,
+    method: 'get'
+  });
+};