File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -536,6 +536,11 @@ int PyWrapper::wrapperExecFree(const char *usrTag) {
536536
537537int PyWrapper::wrapperLoadRes (pDataList p, unsigned int resId) {
538538 DataListCls perData;
539+ // 构建请求数据
540+ int dataNum = 0 ;
541+ for (pDataList tmpDataPtr = perData; tmpDataPtr != NULL ; tmpDataPtr = tmpDataPtr->next ) {
542+ dataNum++;
543+ }
539544 if (dataNum > 0 ) {
540545 for (int tmpIdx = 0 ; tmpIdx < dataNum; tmpIdx++) {
541546 DataListNode item;
@@ -549,7 +554,7 @@ int PyWrapper::wrapperLoadRes(pDataList p, unsigned int resId) {
549554 char t = static_cast <int >(p->type );
550555 item.type = p->type ;
551556 item.status = p->status ;
552- spdlog::debug (" reqDatatype :{},sid :{}" , p->type , sid );
557+ spdlog::debug (" reqDatatype :{},resID :{}" , p->type , resId );
553558 perData.list .push_back (item);
554559 p = p->next ;
555560 }
You can’t perform that action at this time.
0 commit comments