- SyncQualify中根据Store.LicenceType来判断是否是个人

This commit is contained in:
gazebo
2019-08-15 16:41:05 +08:00
parent 7aa548e1dc
commit 89ee6b5006

View File

@@ -396,7 +396,8 @@ func (c *PurchaseHandler) SyncQualify(ctx *jxcontext.Context, storeDetail *dao.S
EconKind: licenceDetail.EconKind,
Scope: licenceDetail.Scope,
})
if licenceDetail.EconKind == jdapi.LincenceEconKindPerson { // 个人
// 个体经营,个体工商户
if storeDetail.LicenceType == 0 { // 个人
idFrondURL, err := c.storeUploadImgByURL(storeDetail.IDCardFront)
if err != nil {
return err