Eating what you wanted could have magnified your insulin resistance and you might have to get really strict about what you eat to try to see if you can change it. Some type 2's need some insulin at least temporarily to help at certain times.
It can also depend on if you are taking any medications. Certain medications, like steroids can cause high blood sugar. Steroids can cause insulin resistance even for a little while after you have stopped. So if you are on any medications you might want to check to see if it's one of the side effects.
But I don't know how long you have been diagnosed as a type 2. It's also possible you are really a type 1. 35% of type 1's are misdiagnosed as a type 2 at first. Unfortunately it's too common still. Diet change and exercise can help at first because you still make some insulin for a while and getting type 1 as an adult is usually slower progressing so it can take years to happen. I am wondering if the surgery and any changes caused a sudden/quicker progression.
So if your normal solves aren't helping and things don't make sense you could be a type 1 instead. I'm not saying you are, just that it's a possibility. You would need an antibody test, if positive that's a sign of being a type 1. Also a C-peptide test. That tells how much insulin you are making. Low or low normal is a sign of being a type 1, because you are not making enough insulin. High or high normal is a sign of being a type 2, because you still make insulin, you are just not utilizing it well.
Those are high numbers and I would contact your diabetic team to get some help.