DT-06 program using arduino uno
Just program it like you would program a normal ESP8266.

The documentation is here:


https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266---TTLtoWiFi


The datasheet provides the schematic of the module





So SW2 is the reset button and "SW1" is the "FLASH" button. To enter the bootloader mode in which the ESP8266 can be programmed, you first have to hold down the "FLASH" button then press "RESET" once. 

For programming you would ideally get a 5V USB-UART adapter make the connections 


VCC to 5V (it has a regulator to generate the actually needed 3.3V)
GND to GND
EN to 5V (e.g. via a pullup)
TXD to RX of UART adapter
RXD to TX of UART adapter


After the ESP is in the bootloader mode as described above, you can just program it normally through the Arduino IDE. Follow the instructions at https://github.com/esp8266/Arduino to install the ESP8266-Arduino core in the board manager. 

Refer to the similiar procedure:


https://www.hackster.io/harshmangukiya/program-esp8266-esp-12e-with-arduino-using-ftdi-cable-2310c9