When should reread of cl_crm_bol_entity and $scope.$apply be called manually

i042416發表於2020-03-13

CRM

CRM interaction center call poll and Hybris backend office pool

CRM Interaction center poll design and Hybris backoffice

C4C

開啟C4C,即使什麼都不幹,也能觀察到Chrome network裡這些http請求:

When should reread of cl_crm_bol_entity and $scope.$apply be called manually

注意請求發起者是NotifierHelper。這些請求用來幹什麼的?就是定時把C4C後臺新產生的notification取出來顯示在UI上。

登入C4C後,會渲染左邊的toolbar,點選小紅點,就會看到當前未讀的notification:

When should reread of cl_crm_bol_entity and $scope.$apply be called manually When should reread of cl_crm_bol_entity and $scope.$apply be called manually

看註釋,輪詢的間隔為120秒:

When should reread of cl_crm_bol_entity and $scope.$apply be called manually When should reread of cl_crm_bol_entity and $scope.$apply be called manually


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2680020/,如需轉載,請註明出處,否則將追究法律責任。

相關文章