Is there a difference between L 'Occitane bought in JD.COM and the counter?

There is no difference.

The difference between L 'Occitane bought in JD.COM and the counter is that the product quality is the same, and the discount may be slightly different.

L 'Occitane is an international retail enterprise specializing in the production and sale of personal care products and household items, and it is also the first French enterprise listed in China and Hongkong. The company was founded by Olivier Bosan in 1976.