优化
This commit is contained in:
@@ -9,6 +9,7 @@ export interface MerchantTenantProfile {
|
||||
tenantName: string
|
||||
status: MerchantTenantStatus
|
||||
legalName: string
|
||||
legalRepresentative: string
|
||||
unifiedSocialCreditCode: string | null
|
||||
contactName: string
|
||||
contactPhone: string
|
||||
@@ -18,6 +19,7 @@ export interface MerchantTenantProfile {
|
||||
export interface UpdateMerchantTenantProfileRequest {
|
||||
tenantName: string
|
||||
legalName: string
|
||||
legalRepresentative: string
|
||||
contactName: string
|
||||
contactPhone: string
|
||||
contactEmail: string
|
||||
@@ -151,10 +153,12 @@ export function uploadMerchantQualification(
|
||||
) {
|
||||
const data = new FormData()
|
||||
data.append('file', file)
|
||||
data.append('qualificationType', qualificationType)
|
||||
if (certificateNo) data.append('certificateNo', certificateNo)
|
||||
data.append('replace', String(replace))
|
||||
return apiRequest<QualificationUploadResult>({ method: 'POST', url: '/merchant/v1/files/qualifications', data })
|
||||
return apiRequest<QualificationUploadResult>({
|
||||
method: 'POST',
|
||||
url: '/merchant/v1/files/qualifications',
|
||||
params: { qualificationType, certificateNo, replace },
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
export function submitTenantQualificationReview() {
|
||||
|
||||
Reference in New Issue
Block a user