How does WeChat Mini Programs promise get the returned value and pass it into the variable, which is the data of res?

util.getToken (). Then (token = > {

      
        return util.wxRequest({
            url: ports.orderList,
            method: "POST",
            data: { user_id: 32793, ofstatus:10},
            header: { "X-Auth-Token": token,  "content-type": "application/x-www-form-urlencoded"}
        })

    }).then(function (res){
      console.log("------------");
      console.log(res.orderlist);
      
      }).catch(function (e) { return Promise.reject(e); });
Mar.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be4348-39a98.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be4348-39a98.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?