|
@ -19,8 +19,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
import com.yihu.wlyy.entity.security.AccessToken;
|
|
|
import com.yihu.wlyy.entity.security.JsApiTicket;
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
|
import com.yihu.wlyy.entity.security.Token;
|
|
|
import com.yihu.wlyy.service.common.account.AccessTokenService;
|
|
|
import com.yihu.wlyy.service.common.account.PatientService;
|
|
|
import com.yihu.wlyy.service.common.account.TokenService;
|
|
@ -442,9 +440,8 @@ public class WeixinBaseController extends BaseController {
|
|
|
String amrFilePath = tempPath+datePath+newFileName;
|
|
|
String Mp3FilePath = tempPath+datePath+mp3FileName;
|
|
|
CommonUtil.changeToMp3(amrFilePath,Mp3FilePath);
|
|
|
System.out.print("");
|
|
|
// 返回保存路径
|
|
|
return datePath + Mp3FilePath;
|
|
|
return Mp3FilePath;
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|
|
|
} finally {
|