29 lines
753 B
TypeScript
29 lines
753 B
TypeScript
|
|
import { http } from "@/utils/http";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 企业授权基本信息DTO
|
||
|
|
* 用于根据corpid查询企业基本信息
|
||
|
|
*/
|
||
|
|
export interface QyAuthCorpBasicInfoDTO {
|
||
|
|
/** 授权方企业方形头像 */
|
||
|
|
corpSquareLogoUrl?: string;
|
||
|
|
/** 授权方企业名称 */
|
||
|
|
corpName?: string;
|
||
|
|
/** 授权方企业全称 */
|
||
|
|
corpFullName?: string;
|
||
|
|
/** 企业所属行业 */
|
||
|
|
corpIndustry?: string;
|
||
|
|
/** 企业所属子行业 */
|
||
|
|
corpSubIndustry?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据corpid查询企业基本信息
|
||
|
|
* @param corpid 企业ID
|
||
|
|
* @returns 企业基本信息
|
||
|
|
*/
|
||
|
|
export const getBasicInfoByCorpidApi = (corpid: string) => {
|
||
|
|
return http.request<ResponseData<QyAuthCorpBasicInfoDTO>>("get", "/qywx/authCorpInfo/basicInfo", {
|
||
|
|
params: { corpid }
|
||
|
|
});
|
||
|
|
};
|