private async void uiButton1_Click_1(object sender, EventArgs e)
{
string goodId = "";
UIInputDialog.InputStringDialog(ref goodId, true, "请输入采集ID");
if (string.IsNullOrWhiteSpace(goodId))
{
ShowErrorNotifier("请输入采集ID再操作");
return;
}
var res = await PddApi.GetGoodsComments(goodId,"");
if (res.StatusCode != System.Net.HttpStatusCode.OK)
{
ShowErrorNotifier("采集失败");
return;
}
this.comment.Text = "";
string path = AppDomain.CurrentDomain.BaseDirectory + "订单好评";
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
path = AppDomain.CurrentDomain.BaseDirectory + "订单好评\\" + goodId;
if (!Directory.Exists(path))