|
@@ -1088,7 +1088,10 @@ func GetProductPlan(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
if ok {
|
|
|
billStates[stage.BillId] = state["status"].(string)
|
|
|
billSerialNumber[stage.BillId] = state["serialNumber"].(string)
|
|
|
- billSendTo[stage.BillId] = state["sendTo"].(string)
|
|
|
+ if v, ok := state["sendTo"]; ok {
|
|
|
+ billSendTo[stage.BillId] = v.(string)
|
|
|
+ }
|
|
|
+
|
|
|
if v, ok := state["isSend"]; ok {
|
|
|
billIsSend[stage.BillId] = v.(bool)
|
|
|
|