- SyncQualify中根据Store.LicenceType来判断是否是个人
This commit is contained in:
@@ -396,7 +396,8 @@ func (c *PurchaseHandler) SyncQualify(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
EconKind: licenceDetail.EconKind,
|
EconKind: licenceDetail.EconKind,
|
||||||
Scope: licenceDetail.Scope,
|
Scope: licenceDetail.Scope,
|
||||||
})
|
})
|
||||||
if licenceDetail.EconKind == jdapi.LincenceEconKindPerson { // 个人
|
// 个体经营,个体工商户
|
||||||
|
if storeDetail.LicenceType == 0 { // 个人
|
||||||
idFrondURL, err := c.storeUploadImgByURL(storeDetail.IDCardFront)
|
idFrondURL, err := c.storeUploadImgByURL(storeDetail.IDCardFront)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user