diff --git a/src/stores/OrderStore.js b/src/stores/OrderStore.js index 7d7f3e9..4528a99 100644 --- a/src/stores/OrderStore.js +++ b/src/stores/OrderStore.js @@ -60,8 +60,7 @@ export const useOrderStore = create( }, fetchOrderDetail: (colisn) => { - // return fetchJSON(`${API_HOST}/getorderinfo`, { colisn }).then((json) => { - return fetchJSON(`http://202.103.68.144:8888/v2/getorderinfo`, { colisn }).then((json) => { + return fetchJSON(`${API_HOST}/getorderinfo`, { colisn }).then((json) => { if (json.errcode === 0 && json.result.length > 0) { const orderResult = json.result[0] @@ -300,7 +299,7 @@ const transferRemind2Checklist = (remindstate) => { remindValueList.push('FirstRemind') } if (remindstate.SendFirstRemind) { - remindValueList.push('SendFirstRemind') + remindValueList.push('SecondRemind') } if (remindstate.ThirdRemind) { remindValueList.push('ThirdRemind') @@ -321,7 +320,7 @@ const transferRemind2Checklist = (remindstate) => { export const setRemindStateAction = async (orderId, checkedValue) => { const finalState = { 'FirstRemind': checkedValue.includes('FirstRemind') ? 1 : 0, - 'SendFirstRemind': checkedValue.includes('SendFirstRemind') ? 1 : 0, + 'SecondRemind': checkedValue.includes('SendFirstRemind') ? 1 : 0, 'ThirdRemind': checkedValue.includes('ThirdRemind') ? 1 : 0, 'important': checkedValue.includes('important') ? 1 : 0, 'sendsurvey': checkedValue.includes('sendsurvey') ? 1 : 0,