aa
This commit is contained in:
@@ -394,6 +394,8 @@ func AcceptJob(ctx *jxcontext.Context, jobID, dropShippingDeliveryID, dropShippi
|
|||||||
jobOrder.DropShippingDistrictCode = delivery.DistrictCode
|
jobOrder.DropShippingDistrictCode = delivery.DistrictCode
|
||||||
}
|
}
|
||||||
// jobOrder.Status = model.JobOrderStatusWaitAudit
|
// jobOrder.Status = model.JobOrderStatusWaitAudit
|
||||||
|
} else if job.JobCategoryID == model.JobCategoryIDUnion {
|
||||||
|
jobOrder.Status = model.JobOrderStatusSpec
|
||||||
}
|
}
|
||||||
dao.Begin(db)
|
dao.Begin(db)
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|||||||
1
business/jxstore/vendor/jds/jds.go
vendored
Normal file
1
business/jxstore/vendor/jds/jds.go
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package jds
|
||||||
1
business/jxstore/vendor/mt/mt.go
vendored
Normal file
1
business/jxstore/vendor/mt/mt.go
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package mt
|
||||||
1
business/jxstore/vendor/partner.go
vendored
Normal file
1
business/jxstore/vendor/partner.go
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package vendor
|
||||||
1
business/jxstore/vendor/pdd/pdd.go
vendored
Normal file
1
business/jxstore/vendor/pdd/pdd.go
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package pdd
|
||||||
1
business/jxstore/vendor/taobao/taobao.go
vendored
Normal file
1
business/jxstore/vendor/taobao/taobao.go
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package taobao
|
||||||
@@ -17,7 +17,7 @@ const (
|
|||||||
JobLimitCountTypePWO = 3 //每人每周一次
|
JobLimitCountTypePWO = 3 //每人每周一次
|
||||||
JobLimitCountTypeNoLimit = 4 //不限制
|
JobLimitCountTypeNoLimit = 4 //不限制
|
||||||
|
|
||||||
JobOrderStatusSpec = 1
|
JobOrderStatusSpec = 1 //特殊状态(联盟任务)
|
||||||
JobOrderStatusAccept = 5
|
JobOrderStatusAccept = 5
|
||||||
JobOrderStatusWaitAudit = 10
|
JobOrderStatusWaitAudit = 10
|
||||||
JobOrderStatusAuditPass = 15
|
JobOrderStatusAuditPass = 15
|
||||||
@@ -42,6 +42,7 @@ const (
|
|||||||
JobCategoryIDwmtg = 3 //任务类型外卖推广
|
JobCategoryIDwmtg = 3 //任务类型外卖推广
|
||||||
JobCategoryIDOther = 4 //其他任务类型
|
JobCategoryIDOther = 4 //其他任务类型
|
||||||
JobCategoryIDDropShipping = 5 //一件代发
|
JobCategoryIDDropShipping = 5 //一件代发
|
||||||
|
JobCategoryIDUnion = 6 //联盟任务
|
||||||
|
|
||||||
JobSpanTop = 1 //置顶
|
JobSpanTop = 1 //置顶
|
||||||
JobSpanRecommend = 2 //推荐
|
JobSpanRecommend = 2 //推荐
|
||||||
|
|||||||
@@ -295,3 +295,4 @@ ejyAfterKey = "QM5RnGl6kNh3ENLT"
|
|||||||
|
|
||||||
txCloudSecretID = "AKIDFNmm1U7vhITlVItry0ng5Q268lGjDZyQUR6"
|
txCloudSecretID = "AKIDFNmm1U7vhITlVItry0ng5Q268lGjDZyQUR6"
|
||||||
txCloudSecretKey = "25p3aynr97hOMJEfpvr0LoXD0gI62l7wcHA7nsM6"
|
txCloudSecretKey = "25p3aynr97hOMJEfpvr0LoXD0gI62l7wcHA7nsM6"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user